Skip to content

Commit 30c74e6

Browse files
committed
chore: regenerate for the graph mutation audit
Adds api.graph_audit.list_graph_mutations and its models (MutationAuditEntry, MutationAuditListResponse and their enums), and picks up additive changes already on the API: the optional allow_unposted_source_events on close and backfill, the optional unposted-source-event fields on the fiscal calendar and in the GraphQL schema, and clearer operation descriptions. Claude-Session: https://claude.ai/code/session_01P2UGTUdaKBHMeEtP6myv4H
1 parent 6e30e21 commit 30c74e6

18 files changed

Lines changed: 902 additions & 18 deletions

‎robosystems_client/api/content_operations/ingest_file.py‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def sync_detailed(
113113
114114
Mark an uploaded file ready and stage it into DuckDB. Small files stage directly (sync); large files
115115
stage via a background job (returns a pending envelope with an `operation_id` to monitor). Set
116-
`ingest_to_graph` to auto-materialize into the graph after staging.
116+
`ingest_to_graph` to auto-materialize into the graph after staging; that write takes the graph's
117+
materialize lock, so it returns 409 while another materialization of the graph is running.
117118
118119
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
119120
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -158,7 +159,8 @@ def sync(
158159
159160
Mark an uploaded file ready and stage it into DuckDB. Small files stage directly (sync); large files
160161
stage via a background job (returns a pending envelope with an `operation_id` to monitor). Set
161-
`ingest_to_graph` to auto-materialize into the graph after staging.
162+
`ingest_to_graph` to auto-materialize into the graph after staging; that write takes the graph's
163+
materialize lock, so it returns 409 while another materialization of the graph is running.
162164
163165
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
164166
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -198,7 +200,8 @@ async def asyncio_detailed(
198200
199201
Mark an uploaded file ready and stage it into DuckDB. Small files stage directly (sync); large files
200202
stage via a background job (returns a pending envelope with an `operation_id` to monitor). Set
201-
`ingest_to_graph` to auto-materialize into the graph after staging.
203+
`ingest_to_graph` to auto-materialize into the graph after staging; that write takes the graph's
204+
materialize lock, so it returns 409 while another materialization of the graph is running.
202205
203206
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
204207
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -241,7 +244,8 @@ async def asyncio(
241244
242245
Mark an uploaded file ready and stage it into DuckDB. Small files stage directly (sync); large files
243246
stage via a background job (returns a pending envelope with an `operation_id` to monitor). Set
244-
`ingest_to_graph` to auto-materialize into the graph after staging.
247+
`ingest_to_graph` to auto-materialize into the graph after staging; that write takes the graph's
248+
materialize lock, so it returns 409 while another materialization of the graph is running.
245249
246250
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
247251
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Contains endpoint functions for accessing the API"""

0 commit comments

Comments
 (0)