neo4j-contrib/neomodel

Missing import in contrib __init__

tobiascaliskan opened this issue · 1 comments

Expected Behavior (Mandatory)

Being able to import the Spatial_properties within the folder contrib.

Actual Behavior (Mandatory)

Currently only the SemiStructuredNode can be imported.

How to Reproduce the Problem

  1. Create a new file
  2. Try to import the PointProperty using **from neomodel.contrib.spatial_properties import PointProperty"

I managed to solve the issue by adding the import within the init.py file for the properties in the contrib.init.py file

Specifications (Mandatory)

Currently used versions
5.2.1

This works for me : from neomodel.contrib.spatial_properties import PointProperty

So do you mean you would want to do : from neomodel import PointProperty ? Or from neomodel.contrib import PointProperty?