Skip to content

feat(sdk): document usage limits on GraphLimitsResponse - #168

Merged
jfrench9 merged 1 commit into
mainfrom
feature/document-limits
Aug 5, 2026
Merged

feat(sdk): document usage limits on GraphLimitsResponse#168
jfrench9 merged 1 commit into
mainfrom
feature/document-limits

Conversation

@jfrench9

@jfrench9 jfrench9 commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

Regenerates the SDK against the backend's new documents section on GET /v1/graphs/{graph_id}/limits (RoboFinSystems/robosystems#1056): a DocumentLimits model (current_count, max_documents, approaching_limit) surfaced as an optional documents field on GraphLimitsResponse.

Strictly additive to the public surface — rides as a minor under the 1.0 contract.

Changes

  • robosystems_client/models/document_limits.py — new generated DocumentLimits model.
  • robosystems_client/models/graph_limits_response.py, models/__init__.py — optional documents field wired in and exported.
  • api/graph_limits/get_graph_limits.py — endpoint description string updated by the generator.
  • api/connections/sync_connection.py — docstring-only drift catch-up from an earlier backend description change (sync now described as async with last_sync completion, not SSE monitoring); no signature changes.

Generated with just generate-sdk against a backend running the paired branch; schema.graphql snapshot unchanged (no GraphQL surface change).

Testing

  • just test-all — ruff check, format check, basedpyright, and 535 tests all pass (pre-push hook re-ran the full gate).

Notes / Follow-ups

  • Publish as a minor once the backend PR merges; pairs with robosystems-typescript-client#175.

Regenerated against the backend's new documents section on
GET /v1/graphs/{graph_id}/limits: DocumentLimits (current_count,
max_documents, approaching_limit) surfaced as an optional documents
field. Also picks up docstring drift on sync_connection from an
earlier backend description change. Additive — rides as a minor.
@jfrench9
jfrench9 merged commit 644ef23 into main Aug 5, 2026
1 check passed
@jfrench9
jfrench9 deleted the feature/document-limits branch August 5, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant