Add backdrop api and test
This commit is contained in:
19
tjnetwork.py
19
tjnetwork.py
@@ -530,3 +530,22 @@ def set_option(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
|
||||
def get_node_coord(name: str, node_id: str) -> dict[str, float] | None:
|
||||
return api.get_node_coord(name, node_id)
|
||||
|
||||
|
||||
############################################################
|
||||
# backdrop 27.[BACKDROP]
|
||||
############################################################
|
||||
|
||||
def get_backdrop_schema(name: str) -> dict[str, dict[str, Any]]:
|
||||
return api.get_backdrop_schema(name)
|
||||
|
||||
def get_backdrop(name: str) -> dict[str, Any]:
|
||||
return api.get_backdrop(name)
|
||||
|
||||
def set_backdrop(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return api.set_backdrop(name, cs)
|
||||
|
||||
|
||||
############################################################
|
||||
# end 28.[END]
|
||||
############################################################
|
||||
|
||||
Reference in New Issue
Block a user