work with no query
Implements: blueprint get-topology-api Change-Id: I97d3da683a05c9efc499a6359f2376700cda53cd
This commit is contained in:
@@ -28,6 +28,6 @@ class Topology(object):
|
||||
"""
|
||||
|
||||
params = dict(depth=limit, graph_type=graph_type,
|
||||
query=json.loads(query),
|
||||
query=json.loads(query) if query else None,
|
||||
root=root)
|
||||
return self.api.post(self.URL, json=params).json()
|
||||
|
||||
Reference in New Issue
Block a user