airbyte-source-shopify 3.0.14.dev202512222034__tar.gz → 3.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/PKG-INFO +1 -1
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/pyproject.toml +1 -1
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/streams/streams.py +11 -1
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/README.md +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/__init__.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/auth.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/config_migrations.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/http_request.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/run.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/abandoned_checkouts.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/articles.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/balance_transactions.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/blogs.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/collections.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/collects.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/countries.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/custom_collections.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/customer_address.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/customer_journey_summary.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/customers.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/deleted_products.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/discount_codes.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/disputes.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/draft_orders.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/fulfillment_orders.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/fulfillments.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/inventory_items.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/inventory_levels.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/locations.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_articles.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_blogs.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_collections.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_customers.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_draft_orders.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_locations.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_orders.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_pages.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_product_images.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_product_variants.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_products.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_shops.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/metafield_smart_collections.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/order_agreements.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/order_refunds.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/order_risks.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/orders.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/pages.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/price_rules.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/product_images.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/product_variants.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/products.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/profile_location_groups.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/shop.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/smart_collections.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/tender_transactions.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/schemas/transactions.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/scopes.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/__init__.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/exceptions.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/job.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/query.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/record.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/retry.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/status.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/shopify_graphql/bulk/tools.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/source.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/spec.json +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/streams/base_streams.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/transform.py +0 -0
- {airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/utils.py +0 -0
{airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/pyproject.toml
RENAMED
|
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
|
|
|
3
3
|
build-backend = "poetry.core.masonry.api"
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
|
-
version = "3.0
|
|
6
|
+
version = "3.1.0"
|
|
7
7
|
name = "airbyte-source-shopify"
|
|
8
8
|
description = "Source CDK implementation for Shopify."
|
|
9
9
|
authors = [ "Airbyte <contact@airbyte.io>",]
|
|
@@ -140,6 +140,16 @@ class DeletedProducts(IncrementalShopifyStream):
|
|
|
140
140
|
Stream for fetching deleted products using the Shopify GraphQL Events API.
|
|
141
141
|
This stream queries events with action:destroy and subject_type:Product to get deleted product records.
|
|
142
142
|
https://shopify.dev/docs/api/admin-graphql/latest/queries/events
|
|
143
|
+
|
|
144
|
+
Note: This stream extends IncrementalShopifyStream (REST base class) rather than IncrementalShopifyGraphQlBulkStream
|
|
145
|
+
because it uses Shopify's standard GraphQL Events API, NOT the Bulk Operations API (bulkOperationRunQuery).
|
|
146
|
+
The Events API has a fundamentally different architecture:
|
|
147
|
+
- Uses immediate queries with cursor pagination (not async job creation + file download)
|
|
148
|
+
- Returns results in response.data.events.nodes (not JSONL files)
|
|
149
|
+
- Requires different URL endpoint (/graphql.json), request format (POST with query in body), and pagination logic
|
|
150
|
+
|
|
151
|
+
Therefore, url_base, path, request_params, next_page_token, and parse_response are overridden to accommodate
|
|
152
|
+
the GraphQL request/response structure while maintaining incremental sync capabilities from the base class.
|
|
143
153
|
"""
|
|
144
154
|
|
|
145
155
|
data_field = "graphql"
|
|
@@ -216,7 +226,7 @@ class DeletedProducts(IncrementalShopifyStream):
|
|
|
216
226
|
json_response = response.json()
|
|
217
227
|
events = json_response.get("data", {}).get("events", {}).get("nodes", [])
|
|
218
228
|
for event in events:
|
|
219
|
-
if event.get("subjectType") == "
|
|
229
|
+
if event.get("subjectType") == "PRODUCT" and event.get("subjectId"):
|
|
220
230
|
subject_id = event.get("subjectId", "")
|
|
221
231
|
product_id = int(subject_id.split("/")[-1]) if "/" in subject_id else None
|
|
222
232
|
if product_id:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{airbyte_source_shopify-3.0.14.dev202512222034 → airbyte_source_shopify-3.1.0}/source_shopify/run.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|