You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the example code in the docs fails for metaproperties, at least on my system.
Here is my code, copied from the web docs:
import goblin
from aiogremlin.gremlin_python import Cardinality
class HistoricalName(goblin.VertexProperty):
notes = goblin.Property(goblin.String)
class City(goblin.Vertex):
name = goblin.Property(goblin.String)
population = goblin.Property(goblin.Integer)
historical_name = HistoricalName(
goblin.String, card=Cardinality.list)
When I run this script, I get the error:
File "/usr/lib/python3.5/enum.py", line 274, in __getattr__
raise AttributeError(name) from None
AttributeError: list
I'm using goblin 2.0.0, gremlin-python 3.2.5, aiogremlin 3.2.4.
The text was updated successfully, but these errors were encountered:
It appears that the example code in the docs fails for metaproperties, at least on my system.
Here is my code, copied from the web docs:
When I run this script, I get the error:
I'm using goblin 2.0.0, gremlin-python 3.2.5, aiogremlin 3.2.4.
The text was updated successfully, but these errors were encountered: