Repository navigation
chore(SCR-764): remove google.shopping.product() and click() (0.87.0) - #115
Merged
Merged
Conversation
…, SCR-764) GET /v1/google/shopping/product and GET /v1/google/shopping/product/click were retired (monorepo migrations 059/060) and answer 404, so both methods could only fail. A customer called them from our examples (SB-001278). - ShoppingClient loses product() and click(); offers() and search() stay. - Docstring examples in client.py and google/__init__.py now chain shopping.search() into products.detail(gpcid, q=..., include_offers=True). - search() docstring lists the tile fields Google returns today (gpcid, catalog_id, link, product_link, scrapebadger_product_detail_link); there is no click_link. - docs/google.md: shopping example, method tables, credit table and the "Shopping Click Enrichment" section updated or removed. - Version 0.87.0 and a CHANGELOG entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
GET /v1/google/shopping/productandGET /v1/google/shopping/product/clickwere retired and answer 404, sogoogle.shopping.product()andgoogle.shopping.click()could only fail. A customer called them from our examples (SB-001278). Linear: SCR-764.ShoppingClient.product()and.click()are removed.search()andoffers()are unchanged.client.pyandgoogle/__init__.pynow chainshopping.search()intoproducts.detail(gpcid, q=..., include_offers=True).search()docstring lists the tile fields Google returns today and no longer mentionsclick_link.docs/google.md: the Shopping example, the method tables and the credit table are updated, and the "Shopping Click Enrichment" section is removed.Merge order: merge the monorepo PR (surface manifests) first. The monorepo's SDK Codegen job clones this repo's
main, and its surface-lock fails onmissing: google.shopping.click / google.shopping.productuntil the manifest entries are gone.Release contents:
compare/v0.86.0...mainis empty today (ahead_by=0), so a 0.87.0 release from main would carry only this change. The open PRs #111 (SCR-712) and #104 (SB-001247) also touch versioning, so whichever merges second needs a rebase and version bump.Checks: 1035 unit tests pass (
pytest --ignore=tests/e2e). ruff check, ruff format and mypy pass.check_surface.pywith the edited monorepo manifest reports surface-lock OK.Related PRs (SCR-764), merge in this order:
🤖 Generated with Claude Code