Newer
Older
from neomodel import StructuredNode, StringProperty, IntegerProperty,UniqueIdProperty, RelationshipTo
class DataCollection(StructuredNode):
name=StringProperty()
uuid=StringProperty(unique_index=True, default=uuid4)
"""
Serializer for node properties
"""
return {
'node_properties': {