airbyte-source-shopify 3.2.0.dev202602040050__py3-none-any.whl → 3.2.1.dev202602031830__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-shopify
3
- Version: 3.2.0.dev202602040050
3
+ Version: 3.2.1.dev202602031830
4
4
  Summary: Source CDK implementation for Shopify.
5
5
  Home-page: https://airbyte.com
6
6
  License: ELv2
@@ -44,7 +44,7 @@ source_shopify/schemas/orders.json,sha256=SxX6fDtMnEkvm-58uNgaoF47Ep8DIwLpXK09C2
44
44
  source_shopify/schemas/pages.json,sha256=J7jxtk2nE_q-0oHmGz8orFq3EfSjJqUvF6qPJtiZCrg,2093
45
45
  source_shopify/schemas/price_rules.json,sha256=aZ-Re9Oc9g0ci8SPn0_ufvKPsGDBcTaXHVsq_9-Ygq4,7004
46
46
  source_shopify/schemas/product_images.json,sha256=0l3ACfOfnXz8N8oMHwvvfZUFKeeuZ2DlRRu5-FxUhaI,1760
47
- source_shopify/schemas/product_variants.json,sha256=TipJMwLLBi9ULVxCEya14W-de7Fr4qfLAfCPETTtdeM,8412
47
+ source_shopify/schemas/product_variants.json,sha256=VpVxC9gJLkk8LTtg4sSQui-_XIWQi5JHC7cZ3_264hU,8415
48
48
  source_shopify/schemas/products.json,sha256=n7m1ndEnAM7Pee5ca0JZWCl5Y0VffGmTZjqjHhiht1I,22609
49
49
  source_shopify/schemas/profile_location_groups.json,sha256=2_QdfMeM_WNDT-06fQfFUHXjN9D6ndKIGcviJxEl8kM,189
50
50
  source_shopify/schemas/shop.json,sha256=vEGiTvEYX7qnMq06MRVBycqih49h49xjTNC6gJuxTWs,8137
@@ -55,7 +55,7 @@ source_shopify/scopes.py,sha256=R6f7t211n_nrh0T897u72ODo_hI6mzPC1NbN0vq-upI,6579
55
55
  source_shopify/shopify_graphql/bulk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  source_shopify/shopify_graphql/bulk/exceptions.py,sha256=4dj7Za4xIfwL-zf8joT9svF_RSoGlE3GviMiIl1e1rs,2532
57
57
  source_shopify/shopify_graphql/bulk/job.py,sha256=c3Cg70_Io9jTD-rU-5MvjHaPmJCtcpeqEYnRtFECGOo,28673
58
- source_shopify/shopify_graphql/bulk/query.py,sha256=A8-VJGxzJnkkVZm62TAw6OZlWcIs9VHzhO-rMaVHc0E,136522
58
+ source_shopify/shopify_graphql/bulk/query.py,sha256=IvpYW4wh6RUJGBlaRWWutHEmvgtDT_viOHu28PR4-5A,136420
59
59
  source_shopify/shopify_graphql/bulk/record.py,sha256=X6VGngugv7a_S8UEeDo121BkdCVLj5nWlHK76A21kyo,16898
60
60
  source_shopify/shopify_graphql/bulk/retry.py,sha256=R5rSJJE8D5zcj6mN-OmmNO2aFZEIdjAlWclDDVW5KPI,2626
61
61
  source_shopify/shopify_graphql/bulk/status.py,sha256=RmuQ2XsYL3iRCpVGxea9F1wXGmbwasDCSXjaTyL4LMA,328
@@ -66,7 +66,7 @@ source_shopify/streams/base_streams.py,sha256=k_4uLaLADLRTUcSmP8uA_830uuzRvnqUaC
66
66
  source_shopify/streams/streams.py,sha256=I68Li0EPR9acj3Jhk7qd-zWhESkPHRzLA_b-LmbTjsE,20044
67
67
  source_shopify/transform.py,sha256=mn0htL812_90zc_YszGQa0hHcIZQpYYdmk8IqpZm5TI,4685
68
68
  source_shopify/utils.py,sha256=DSqEchu-MQJ7zust7CNfqOkGIv9OSR-5UUsuD-bsDa8,16224
69
- airbyte_source_shopify-3.2.0.dev202602040050.dist-info/METADATA,sha256=eo4mrM9Mova_yKHxI5QkOs2O4bZuqjoMt49z-vbkNFI,5313
70
- airbyte_source_shopify-3.2.0.dev202602040050.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
71
- airbyte_source_shopify-3.2.0.dev202602040050.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
72
- airbyte_source_shopify-3.2.0.dev202602040050.dist-info/RECORD,,
69
+ airbyte_source_shopify-3.2.1.dev202602031830.dist-info/METADATA,sha256=16HYNIXt-1MUug3pX0Fc9KTBlk6TwJFKsA_cfdZt-FA,5313
70
+ airbyte_source_shopify-3.2.1.dev202602031830.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
71
+ airbyte_source_shopify-3.2.1.dev202602031830.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
72
+ airbyte_source_shopify-3.2.1.dev202602031830.dist-info/RECORD,,
@@ -56,14 +56,14 @@
56
56
  "description": "The unique identifier for the product option.",
57
57
  "type": ["null", "integer"]
58
58
  },
59
+ "position": {
60
+ "description": "The display position of the product option.",
61
+ "type": ["null", "integer"]
62
+ },
59
63
  "name": {
60
64
  "description": "The product option's name.",
61
65
  "type": ["null", "string"]
62
66
  },
63
- "position": {
64
- "description": "The display order of the product option.",
65
- "type": ["null", "integer"]
66
- },
67
67
  "value": {
68
68
  "description": "The product option's value.",
69
69
  "type": ["null", "string"]
@@ -2853,24 +2853,22 @@ class ProductVariant(ShopifyBulkQuery):
2853
2853
  product = record.get("product") or {}
2854
2854
  product_options = product.get("product_options") or []
2855
2855
 
2856
- # Build a lookup map from option name to ProductOption data
2857
- product_options_map = {}
2856
+ # Create a lookup map from option name to ProductOption data
2857
+ option_lookup = {}
2858
2858
  for product_option in product_options:
2859
- if product_option:
2860
- name = product_option.get("name")
2861
- if name:
2862
- product_options_map[name] = {
2863
- "id": self.tools.resolve_str_id(product_option.get("id")),
2864
- "position": product_option.get("position"),
2865
- }
2859
+ option_name = product_option.get("name")
2860
+ if option_name:
2861
+ option_lookup[option_name] = {
2862
+ "id": self.tools.resolve_str_id(product_option.get("id")),
2863
+ "position": product_option.get("position"),
2864
+ }
2866
2865
 
2867
2866
  # Enrich each option with id and position from the matching ProductOption
2868
2867
  for option in options:
2869
- if option:
2870
- option_name = option.get("name")
2871
- if option_name and option_name in product_options_map:
2872
- option["id"] = product_options_map[option_name]["id"]
2873
- option["position"] = product_options_map[option_name]["position"]
2868
+ option_name = option.get("name")
2869
+ if option_name and option_name in option_lookup:
2870
+ option["id"] = option_lookup[option_name]["id"]
2871
+ option["position"] = option_lookup[option_name]["position"]
2874
2872
 
2875
2873
  def record_process_components(self, record: MutableMapping[str, Any]) -> Iterable[MutableMapping[str, Any]]:
2876
2874
  """