Skip to content

Sync SDK with Etsy API spec - taxonomy property filters - #45

Merged
amitray007 merged 1 commit into
masterfrom
release/sdk-audit-2026-10-09
Oct 9, 2026
Merged

amitray007 merged 1 commit into
masterfrom
release/sdk-audit-2026-10-09

Conversation

@amitray007

Copy link
Copy Markdown
Owner

Summary

This PR syncs the SDK with the current Etsy OAS spec. Coverage stays at 100% (105/105 operations). Etsy has published no new GitHub releases since 2026-03-24, so the spec diff is the only source of changes.

Found 0 Must Fix, 1 Should Fix, 1 Informational.

Should Fix

  • Taxonomy property filters: The spec adds two optional boolean query parameters to getPropertiesByTaxonomyId: supports_variations and supports_attributes. SellerTaxonomyResource.get_properties_by_taxonomy_id now accepts both. Both default to None, which sends no parameter, so existing calls send the same request as before.

Informational (no code impact)

  • TransactionVariations has a new response field, mime_type. It is a nullable enum of image and PDF MIME types for personalization uploads. The SDK has no response models, so it needs no change.
  • I checked all 18 suppressions in specs/audit-ignore.json against the code and the spec, and they still hold. There are no stale ignores and no new enum values.

Test plan

  • pytest: 441 passed. Adds a test for the filtered call and updates the default-call test to check the query parameters.
  • python scripts/audit_sdk.py --spec specs/latest.json: no query/path parameter drift, no request body drift, no stale ignores, 0 code issues.
  • python scripts/check_version_consistency.py: OK at 1.2.1.
  • make_request sends query parameters through generate_get_uri, which writes booleans as true or false and leaves out None.
  • specs/baseline.json is updated to the audited spec.

🤖 Generated with Claude Code

Add the optional supports_variations and supports_attributes query
parameters to SellerTaxonomyResource.get_properties_by_taxonomy_id,
matching the getPropertiesByTaxonomyId spec change. Update the spec
baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amitray007 amitray007 added the api-drift Auto-created when Etsy API spec changes are detected by weekly maintenance check label Oct 9, 2026
@amitray007 amitray007 self-assigned this Oct 9, 2026
@amitray007 amitray007 changed the title Sync SDK with Etsy API spec — taxonomy property filters Sync SDK with Etsy API spec - taxonomy property filters Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Test Coverage Report

Overall: 100% (1739/1739 statements covered)

Coverage by file
File Statements Missing Coverage
etsy_python/__init__.py 2 0 100%
etsy_python/_version.py 1 0 100%
etsy_python/v3/auth/OAuth.py 33 0 100%
etsy_python/v3/auth/__init__.py 1 0 100%
etsy_python/v3/common/Env.py 10 0 100%
etsy_python/v3/common/Request.py 3 0 100%
etsy_python/v3/common/Utils.py 34 0 100%
etsy_python/v3/enums/HolidayPreferences.py 29 0 100%
etsy_python/v3/enums/Language.py 12 0 100%
etsy_python/v3/enums/Listing.py 78 0 100%
etsy_python/v3/enums/ListingInventory.py 4 0 100%
etsy_python/v3/enums/ProcessingProfile.py 7 0 100%
etsy_python/v3/enums/ShippingProfile.py 261 0 100%
etsy_python/v3/enums/ShopReceipt.py 12 0 100%
etsy_python/v3/exceptions/BaseAPIException.py 10 0 100%
etsy_python/v3/exceptions/RequestException.py 8 0 100%
etsy_python/v3/exceptions/__init__.py 2 0 100%
etsy_python/v3/models/FileRequest.py 7 0 100%
etsy_python/v3/models/HolidayPreferences.py 8 0 100%
etsy_python/v3/models/Listing.py 189 0 100%
etsy_python/v3/models/Miscellaneous.py 8 0 100%
etsy_python/v3/models/ProcessingProfile.py 21 0 100%
etsy_python/v3/models/Product.py 7 0 100%
etsy_python/v3/models/Receipt.py 39 0 100%
etsy_python/v3/models/Request.py 22 0 100%
etsy_python/v3/models/ShippingProfile.py 85 0 100%
etsy_python/v3/models/Shop.py 24 0 100%
etsy_python/v3/models/ShopReturnPolicy.py 25 0 100%
etsy_python/v3/models/Utils.py 19 0 100%
etsy_python/v3/models/__init__.py 10 0 100%
etsy_python/v3/resources/HolidayPreferences.py 19 0 100%
etsy_python/v3/resources/Listing.py 102 0 100%
etsy_python/v3/resources/ListingFile.py 22 0 100%
etsy_python/v3/resources/ListingImage.py 22 0 100%
etsy_python/v3/resources/ListingInventory.py 25 0 100%
etsy_python/v3/resources/ListingOffering.py 12 0 100%
etsy_python/v3/resources/ListingProduct.py 12 0 100%
etsy_python/v3/resources/ListingTranslation.py 19 0 100%
etsy_python/v3/resources/ListingVariationImages.py 16 0 100%
etsy_python/v3/resources/ListingVideo.py 22 0 100%
etsy_python/v3/resources/Miscellaneous.py 16 0 100%
etsy_python/v3/resources/Payment.py 23 0 100%
etsy_python/v3/resources/PaymentLedgerEntry.py 15 0 100%
etsy_python/v3/resources/ProcessingProfile.py 26 0 100%
etsy_python/v3/resources/Receipt.py 25 0 100%
etsy_python/v3/resources/ReceiptTransactions.py 27 0 100%
etsy_python/v3/resources/Response.py 9 0 100%
etsy_python/v3/resources/Review.py 16 0 100%
etsy_python/v3/resources/Session.py 94 0 100%
etsy_python/v3/resources/ShippingProfile.py 58 0 100%
etsy_python/v3/resources/Shop.py 23 0 100%
etsy_python/v3/resources/ShopProductionPartner.py 11 0 100%
etsy_python/v3/resources/ShopReturnPolicy.py 28 0 100%
etsy_python/v3/resources/ShopSection.py 25 0 100%
etsy_python/v3/resources/Taxonomy.py 24 0 100%
etsy_python/v3/resources/User.py 14 0 100%
etsy_python/v3/resources/UserAddress.py 19 0 100%
etsy_python/v3/resources/__init__.py 29 0 100%
etsy_python/v3/resources/enums/RateLimit.py 8 0 100%
etsy_python/v3/resources/enums/Request.py 7 0 100%

Updated by PR Tests

@amitray007 amitray007 linked an issue Oct 9, 2026 that may be closed by this pull request
@amitray007
amitray007 merged commit 94341d2 into master Oct 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-drift Auto-created when Etsy API spec changes are detected by weekly maintenance check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

audit: Spec Drift [2026-10-05] — medium

1 participant