Repository navigation
Expose order-line related subscription and release 0.1.0a3 - #3
Merged
Merged
Conversation
Re-sync openapi.yaml with the production bundle (SHA-256 5e648169…) and
regenerate models. OrderLine gains related_resources: None on historical,
unrelated or omitted lines, {subscription_id: None} for an unresolved signup.
Amp-Thread-ID: https://ampcode.com/threads/T-01a1d5d1-e5c4-72aa-a52b-f00addc3cdd1
Co-authored-by: Amp <amp@ampcode.com>
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.
Syncs
openapi.yamlwith the production bundle from Vatly Release 2 (vatlify productionb1c81c3, SHA-2565e648169e101edc8b3e088dc0e28d0f0a293e8a0ed057014c7336057d986def9, byte-identical to vatly-docs66c8205) and regenerates the models.What changes for SDK users
OrderLine.related_resources(aliasrelatedResources) is a typedRelatedResources | Nonewithsubscription_id: str | None.related_resources is Noneon historical and unrelated lines, and when older payloads omit the property.RelatedResources(subscription_id=None).product_type/product_idmeanings are unchanged; only their descriptions and examples were updated. Webhook payloads are unchanged.Release prep: version
0.1.0a3, changelog, README install pin, spec provenance indocs/Development.md.The docs guides (
docs/Orders.md,docs/README.md) and thepublished-docsCI pin stay on0.1.0a2here, because that job runs the guides against the published package. They move to0.1.0a3in a follow-up once PyPI has it.Checks:
generate.py --check, ruff, mypy,pytest --cov(207 passed, 95.2%), build + twine +check_package.py, the published-docs job against0.1.0a2, and the suite on Python 3.10. The new test fails on the previous models.