Repository navigation
Conversation
|
Closing unmerged to honor the requested minimal scope. Backend PR TextQLLabs/demo2#15984 now recognizes the v3 Speakeasy SDK's existing User-Agent, so no Python SDK changes or release are needed. Custom-header and streaming additions are intentionally out of scope. |
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
X-TextQL-SDK: python/<version>using package version metadata on generated sync/async requests and the separate Connect unary/streaming transport.Release Notes
None, internal only
Tests
test_sdk_origin_header_on_transport: generated sync and async request headerstest_connect_sdk_origin_header_on_transport: Connect unary and streaming headersPassed: 24 new attribution cases; 46 tests across
test_sdk_origin.py,test_hooks.py, andtest_httpclient.py;uv build;uv run pyright src/textql_sdk;uv run mypy src/textql_sdk; pylint for both edited source files;git diff --check.A wider selection including
test_basesdk_request_building.pyandtest_security.pyhas 73 passes and 3 pre-existing failures:test_default_base_url_and_path_used,test_trailing_slash_on_server_url_override_is_stripped, andtest_model_dump_omits_none_api_key. All three reproduce with the unchanged HEAD registration hook (49 passes, 3 failures). They are not modified here.Compatibility
/rpc/publictransports, not the v2 REST API.