Missing import in contrib __init__
tobiascaliskan opened this issue · 1 comments
tobiascaliskan commented
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
- Create a new file
- 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
mariusconjeaud commented
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
?