Repository navigation
Append vatly-fluent-python to the SDK User-Agent - #5
Merged
Merged
Conversation
Vatly(...) adds vatly/vatly-fluent-python/<version> to the SDK client's User-Agent with add_version_string (vatly/vatly-api-python#5), the chained format all Vatly SDKs use. The version moves to _version.py so the client module can read it. SDKs without add_version_string are left unchanged. Development and CI use the SDK PR commit through [tool.uv.sources] until it is released; package metadata still pins vatly-api-python==0.1.0a4. Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-57ff6642-71f4-41bc-a445-a2b9be732083
Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-57ff6642-71f4-41bc-a445-a2b9be732083
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.
Vatly(...)now appendsvatly/vatly-fluent-python/<version>to the SDK client'sUser-Agent, usingadd_version_stringfrom vatly/vatly-api-python#5. That is the chained format all Vatly SDKs use (vatly/vatly-api-php#84):vatly_fluent.__version__, which moves to_version.pysoclient.pycan import it;vatly_fluent.__version__and the release check are unchanged.Vatlyfacades on one shared client add the token once.add_version_string(the published 0.1.0a4), Fluent does nothing. Checked by installing the built wheel against PyPI's 0.1.0a4.Before releasing:
pyproject.tomlhas a temporary[tool.uv.sources]entry pointing development and CI at the SDK's merge commit onmain(9535226), because the method is not on PyPI yet. Package metadata still pinsvatly-api-python==0.1.0a4. After the SDK release, remove the source, pin the release, and runuv lock(noted indocs/Development.md).No version bump or release here.