airbyte-source-shopify 3.0.4__py3-none-any.whl → 3.0.5.dev202504231524__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.3
2
2
  Name: airbyte-source-shopify
3
- Version: 3.0.4
3
+ Version: 3.0.5.dev202504231524
4
4
  Summary: Source CDK implementation for Shopify.
5
5
  License: ELv2
6
6
  Author: Airbyte
@@ -53,7 +53,7 @@ source_shopify/scopes.py,sha256=N0njfMHn3Q1AQXuTj5VfjQOio10jaDarpC_oLYnWvqc,6490
53
53
  source_shopify/shopify_graphql/bulk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  source_shopify/shopify_graphql/bulk/exceptions.py,sha256=4dj7Za4xIfwL-zf8joT9svF_RSoGlE3GviMiIl1e1rs,2532
55
55
  source_shopify/shopify_graphql/bulk/job.py,sha256=0a3els2a5Fea-o30rkotq7yoPx56c481zwpZzxDajEw,27832
56
- source_shopify/shopify_graphql/bulk/query.py,sha256=vo_ZryWIOaMYP0ZmEnL3KSPQJRD2cHuWG2lhYeg7f8c,130977
56
+ source_shopify/shopify_graphql/bulk/query.py,sha256=D8rnI1SDw50-Gt18lt7YwwNNdsbVMbBfxZa9xVJZbto,130981
57
57
  source_shopify/shopify_graphql/bulk/record.py,sha256=X6VGngugv7a_S8UEeDo121BkdCVLj5nWlHK76A21kyo,16898
58
58
  source_shopify/shopify_graphql/bulk/retry.py,sha256=R5rSJJE8D5zcj6mN-OmmNO2aFZEIdjAlWclDDVW5KPI,2626
59
59
  source_shopify/shopify_graphql/bulk/status.py,sha256=RmuQ2XsYL3iRCpVGxea9F1wXGmbwasDCSXjaTyL4LMA,328
@@ -64,7 +64,7 @@ source_shopify/streams/base_streams.py,sha256=FFIpHd5_-Z61W_jUucdr8D2MzUete1Y2E5
64
64
  source_shopify/streams/streams.py,sha256=8LkM-SRhbGX2MwfHsjcWY62Z6g0jKZ0QfcS4B-vKPoM,13882
65
65
  source_shopify/transform.py,sha256=mn0htL812_90zc_YszGQa0hHcIZQpYYdmk8IqpZm5TI,4685
66
66
  source_shopify/utils.py,sha256=CAEKcxIroBo6kRFCyvC1bfOyfbGy7Z7seqZB7Eekl44,14209
67
- airbyte_source_shopify-3.0.4.dist-info/METADATA,sha256=ekKhaBR-iD5gOm8iKeegAHphzSwjz8coI8Q9__mSUXk,5309
68
- airbyte_source_shopify-3.0.4.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
69
- airbyte_source_shopify-3.0.4.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
70
- airbyte_source_shopify-3.0.4.dist-info/RECORD,,
67
+ airbyte_source_shopify-3.0.5.dev202504231524.dist-info/METADATA,sha256=md22ZLyPo8ygvhRVekA4MCYVDmBbuW1_xJXYLr18Jug,5325
68
+ airbyte_source_shopify-3.0.5.dev202504231524.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
69
+ airbyte_source_shopify-3.0.5.dev202504231524.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
70
+ airbyte_source_shopify-3.0.5.dev202504231524.dist-info/RECORD,,
@@ -2747,7 +2747,7 @@ class ProductVariant(ShopifyBulkQuery):
2747
2747
  record["inventory_item_id"] = self._unnest_and_resolve_id(record, "inventoryItem", "inventory_item_id")
2748
2748
  inventory_item = record.get("inventoryItem")
2749
2749
  measurement_weight = record.get("inventoryItem", {}).get("measurement", {}).get("weight")
2750
- record["weight"] = measurement_weight.get("value") if measurement_weight.get("value") else 0.0
2750
+ record["weight"] = measurement_weight.get("value", 0.0) if measurement_weight is not None else 0.0
2751
2751
  record["weight_unit"] = measurement_weight.get("unit") if measurement_weight else None
2752
2752
  record["tracked"] = inventory_item.get("tracked") if inventory_item else None
2753
2753
  record["requires_shipping"] = inventory_item.get("requires_shipping") if inventory_item else None