Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing import in contrib __init__ #785

Open
tobiascaliskan opened this issue Feb 29, 2024 · 1 comment
Open

Missing import in contrib __init__ #785

tobiascaliskan opened this issue Feb 29, 2024 · 1 comment
Assignees

Comments

@tobiascaliskan
Copy link

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

@mariusconjeaud mariusconjeaud self-assigned this Apr 23, 2024
@mariusconjeaud
Copy link
Collaborator

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?

@mariusconjeaud mariusconjeaud added marked_for_imminent_closure Fully or partially obsolete issue. Request clarification, close if none provided. awaiting_feedback and removed marked_for_imminent_closure Fully or partially obsolete issue. Request clarification, close if none provided. labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants