feat(sdk): document usage limits on GraphLimitsResponse - #168
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Regenerates the SDK against the backend's new
documentssection onGET /v1/graphs/{graph_id}/limits(RoboFinSystems/robosystems#1056): aDocumentLimitsmodel (current_count,max_documents,approaching_limit) surfaced as an optionaldocumentsfield onGraphLimitsResponse.Strictly additive to the public surface — rides as a minor under the 1.0 contract.
Changes
robosystems_client/models/document_limits.py— new generatedDocumentLimitsmodel.robosystems_client/models/graph_limits_response.py,models/__init__.py— optionaldocumentsfield 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 withlast_synccompletion, not SSE monitoring); no signature changes.Generated with
just generate-sdkagainst a backend running the paired branch;schema.graphqlsnapshot 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