Newer
Older
# Third-party imports
from neomodel import StructuredNode, StringProperty, IntegerProperty, UniqueIdProperty, RelationshipTo
class ScalepackFile(StructuredNode):
"""
Defines node properties and relationships
Provides data serializer
"""
# Properties
uuid=StringProperty(unique_index=True, default=uuid4)
rsf_filetype=StringProperty()
@property
def serialize(self):
"""
Serializer for node properties
"""