Add curve api and test
This commit is contained in:
14
tjnetwork.py
14
tjnetwork.py
@@ -339,6 +339,20 @@ def set_pattern(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return api.set_pattern(name, cs)
|
||||
|
||||
|
||||
############################################################
|
||||
# curve 11.[CURVES]
|
||||
############################################################
|
||||
|
||||
def get_curve_schema(name: str) -> dict[str, dict[str, Any]]:
|
||||
return api.get_curve_schema(name)
|
||||
|
||||
def get_curve(name: str, id: str) -> dict[str, Any]:
|
||||
return api.get_curve(name, id)
|
||||
|
||||
def set_curve(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return api.set_curve(name, cs)
|
||||
|
||||
|
||||
############################################################
|
||||
# coord 24.[COORDINATES]
|
||||
############################################################
|
||||
|
||||
Reference in New Issue
Block a user