Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions topogram_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def create_node(self, topogramId, id=None, x=None, y=None, data={}):
assert type(data) is dict
if id : assert type(id) is str
if x : assert type(x) is float or type(x) is int
if y : assert type(y) is float or type(x) is int
if y : assert type(y) is float or type(y) is int

el = {
"id" : id,
Expand Down Expand Up @@ -167,7 +167,7 @@ def create_edge(self, topogramId, source, target, name=None, data={}):
"""POST Create a single edge. Returns the created edge."""
assert type(data) is dict
assert type(source) is str
assert type(source) is str
assert type(target) is str
if name : assert type(name) is str
print name
el = {
Expand Down