feat(silo): push DAG on save and commit (#216) #224
Reference in New Issue
Block a user
Delete Branch "feat/silo-dag-on-save"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wires the DAG extraction engine into save and commit workflows.
Changes
Adds
_push_dag_after_upload(doc, part_number, revision_number)helper insilo_commands.pythat:extract_dagfromdag.py(#214)_client.push_dag()(#215) to sync to the serverHooked into:
Silo_Save.Activated()— after successful MinIO uploadSilo_Commit.Activated()— after successful revision creationDepends On
Closes #216
Adds push_dag() and get_dag() to SiloClient: - push_dag: PUT /api/items/{pn}/dag with nodes + edges - get_dag: GET /api/items/{pn}/dag with optional revision filter Closes #215