Add API to get all pipes

This commit is contained in:
DingZQ
2025-03-29 16:30:15 +08:00
parent 94773a59f8
commit 1dafaa6dcc
4 changed files with 30 additions and 1 deletions

View File

@@ -531,6 +531,10 @@ def get_pipe_schema(name: str) -> dict[str, dict[str, Any]]:
def get_pipe(name: str, id: str) -> dict[str, Any]:
return api.get_pipe(name, id)
# DingZQ, 2025-03-29
def get_all_pipes(name: str) -> list[dict[str, Any]]:
return api.get_all_pipes(name)
def set_pipe(name: str, cs: ChangeSet) -> ChangeSet:
return api.set_pipe(name, cs)