neomodel
neomodel copied to clipboard
NotImplementedError: Not implemented yet on .has with filter ??
Hi - I have a set of nodes called "entities" and they must below to a workspace. I want to do a search to see if a given entity with attributes x and Y exist matching passed in params and also scope that search to within a given workspace, meaning only entities with a relationship to workspace Z.
How can this be done? I tried below and got this error...
e = Entity.nodes.has(workspace=Workspace.nodes.filter(name=workspace_name)).get_or_none(entity_type=entity_type, entity_name=entity_name) File "/usr/local/lib/python3.8/site-packages/neomodel/match.py", line 695, in has must_match, dont_match = process_has_args(self.source_class, kwargs) File "/usr/local/lib/python3.8/site-packages/neomodel/match.py", line 255, in process_has_args raise NotImplementedError("Not implemented yet") NotImplementedError: Not implemented yet