airbyte-source-shopify 3.0.13__py3-none-any.whl → 3.0.13.dev202512232215__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.0.13
3
+ Version: 3.0.13.dev202512232215
4
4
  Summary: Source CDK implementation for Shopify.
5
5
  Home-page: https://airbyte.com
6
6
  License: ELv2
@@ -61,10 +61,10 @@ source_shopify/shopify_graphql/bulk/tools.py,sha256=nUQ2ZmPTKJNJdfLToR6KJtLKcJFC
61
61
  source_shopify/source.py,sha256=txb3wIm-3xXd8-5QLSeu2TeHBSnppwy5PEIOEl40mVw,8517
62
62
  source_shopify/spec.json,sha256=ITYWiQ-NrI5VISk5qmUQhp9ChUE2FV18d8xzVzPwvAg,6144
63
63
  source_shopify/streams/base_streams.py,sha256=k_4uLaLADLRTUcSmP8uA_830uuzRvnqUaCVGcb0Zpd8,42625
64
- source_shopify/streams/streams.py,sha256=YV1JAuD8SmGDmrt6QOgGgC8hA43ijb6ltgv11OJPBxA,14696
64
+ source_shopify/streams/streams.py,sha256=-f0C9foKExBp7WSJi09-DByfkz2EWoLFOOB8rBoF8Xc,14818
65
65
  source_shopify/transform.py,sha256=mn0htL812_90zc_YszGQa0hHcIZQpYYdmk8IqpZm5TI,4685
66
66
  source_shopify/utils.py,sha256=DSqEchu-MQJ7zust7CNfqOkGIv9OSR-5UUsuD-bsDa8,16224
67
- airbyte_source_shopify-3.0.13.dist-info/METADATA,sha256=E5-O-huXEtuW8s5hrE5DQuzYjfKbEuZRcifiJwEPLq0,5298
68
- airbyte_source_shopify-3.0.13.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
69
- airbyte_source_shopify-3.0.13.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
70
- airbyte_source_shopify-3.0.13.dist-info/RECORD,,
67
+ airbyte_source_shopify-3.0.13.dev202512232215.dist-info/METADATA,sha256=5HFMIblhXaOlVKoqHULi8aHJ22gbUv7vwQu9b_21Zn0,5314
68
+ airbyte_source_shopify-3.0.13.dev202512232215.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
69
+ airbyte_source_shopify-3.0.13.dev202512232215.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
70
+ airbyte_source_shopify-3.0.13.dev202512232215.dist-info/RECORD,,
@@ -407,7 +407,10 @@ class Countries(HttpSubStream, FullRefreshShopifyGraphQlBulkStream):
407
407
  stream_slice: Optional[Mapping[str, Any]] = None,
408
408
  next_page_token: Optional[Mapping[str, Any]] = None,
409
409
  ) -> Optional[Mapping[str, Any]]:
410
- location_group_id = stream_slice["parent"]["profile_location_groups"][0]["locationGroup"]["id"]
410
+ profile_location_groups = stream_slice["parent"]["profile_location_groups"]
411
+ if not profile_location_groups:
412
+ return None
413
+ location_group_id = profile_location_groups[0]["locationGroup"]["id"]
411
414
  return {
412
415
  "query": self.query(location_group_id=location_group_id, location_group_zones_cursor=self._sub_page_cursor).get(
413
416
  query_args={