feat(silo): client DAG API methods — push_dag and get_dag (#215) #225

Closed
forbes wants to merge 0 commits from feat/silo-dag-api into main
Owner

Adds DAG sync methods to SiloClient so the desktop workbench and runners can push/fetch feature trees.

New Methods

  • push_dag(part_number, revision_number, nodes, edges)PUT /api/items/{pn}/dag with the payload from MULTI_USER_CLIENT.md Section 2.1
  • get_dag(part_number, revision_number=None)GET /api/items/{pn}/dag with optional revision filter

Location

mods/silo/silo-client/silo_client/__init__.py — follows existing method patterns (URL encoding, _request() helper, Bearer auth, type hints).

Closes #215

Adds DAG sync methods to `SiloClient` so the desktop workbench and runners can push/fetch feature trees. ### New Methods - **`push_dag(part_number, revision_number, nodes, edges)`** — `PUT /api/items/{pn}/dag` with the payload from MULTI_USER_CLIENT.md Section 2.1 - **`get_dag(part_number, revision_number=None)`** — `GET /api/items/{pn}/dag` with optional revision filter ### Location `mods/silo/silo-client/silo_client/__init__.py` — follows existing method patterns (URL encoding, `_request()` helper, Bearer auth, type hints). Closes #215
forbes closed this pull request 2026-02-14 21:16:03 +00:00
Some checks failed
Build and Test / build (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#225