Support to get all tags

This commit is contained in:
WQY\qiong
2023-04-05 23:39:07 +08:00
parent 5f64439f9f
commit b0c90fcc07
4 changed files with 35 additions and 3 deletions

View File

@@ -492,6 +492,9 @@ def delete_valve(name: str, cs: ChangeSet) -> ChangeSet:
def get_tag_schema(name: str) -> dict[str, dict[str, Any]]:
return api.get_tag_schema(name)
def get_tags(name: str) -> list[dict[str, Any]]:
return api.get_tags(name)
def get_tag(name: str, t_type: str, id: str) -> dict[str, Any]:
return api.get_tag(name, t_type, id)