-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
103 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from graphio.objects.nodeset import NodeSet | ||
from graphio.objects.relationshipset import RelationshipSet | ||
from graphio.objects.datacontainer import Container | ||
from graphio.model import ModelNode, ModelRelationship, MergeKey, Label, NodeDescriptor | ||
from graphio.model import ModelNode, ModelRelationship, MergeKey, Label, NodeDescriptor | ||
from graphio.objects.properties import ArrayProperty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class Property: | ||
def __init__(self, key: str): | ||
self.key = key | ||
|
||
def __str__(self): | ||
return self.key | ||
|
||
|
||
class ArrayProperty(Property): | ||
def __init__(self, key: str): | ||
super(ArrayProperty, self).__init__(key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters