airbyte-source-shopify 3.1.1__py3-none-any.whl → 3.1.2__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.1.1
3
+ Version: 3.1.2
4
4
  Summary: Source CDK implementation for Shopify.
5
5
  Home-page: https://airbyte.com
6
6
  License: ELv2
@@ -59,13 +59,13 @@ source_shopify/shopify_graphql/bulk/record.py,sha256=X6VGngugv7a_S8UEeDo121BkdCV
59
59
  source_shopify/shopify_graphql/bulk/retry.py,sha256=R5rSJJE8D5zcj6mN-OmmNO2aFZEIdjAlWclDDVW5KPI,2626
60
60
  source_shopify/shopify_graphql/bulk/status.py,sha256=RmuQ2XsYL3iRCpVGxea9F1wXGmbwasDCSXjaTyL4LMA,328
61
61
  source_shopify/shopify_graphql/bulk/tools.py,sha256=nUQ2ZmPTKJNJdfLToR6KJtLKcJFCChSifkAOvwg0Vss,4065
62
- source_shopify/source.py,sha256=oikoM-VPNk62zlmeAQR59PMxfuXq2s42N7zaqLM6_lo,8575
62
+ source_shopify/source.py,sha256=SOoU8rDYjvf44ZBORLdgd2O_QeXOGMGynlzFLHJgqBg,8815
63
63
  source_shopify/spec.json,sha256=ITYWiQ-NrI5VISk5qmUQhp9ChUE2FV18d8xzVzPwvAg,6144
64
64
  source_shopify/streams/base_streams.py,sha256=k_4uLaLADLRTUcSmP8uA_830uuzRvnqUaCVGcb0Zpd8,42625
65
65
  source_shopify/streams/streams.py,sha256=Ro0JXboCQHpfdI5VsLR4TseSL077GiFMZ-gOOnCCqtc,19356
66
66
  source_shopify/transform.py,sha256=mn0htL812_90zc_YszGQa0hHcIZQpYYdmk8IqpZm5TI,4685
67
67
  source_shopify/utils.py,sha256=DSqEchu-MQJ7zust7CNfqOkGIv9OSR-5UUsuD-bsDa8,16224
68
- airbyte_source_shopify-3.1.1.dist-info/METADATA,sha256=3gernyjPdPHyv4iUp1GCvVAmXasqXneGiyLx_28D5DU,5297
69
- airbyte_source_shopify-3.1.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
70
- airbyte_source_shopify-3.1.1.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
71
- airbyte_source_shopify-3.1.1.dist-info/RECORD,,
68
+ airbyte_source_shopify-3.1.2.dist-info/METADATA,sha256=CaPhg3HO2FzEmCAddrOhC52KBB0zt5Rl-vBA2syFaTE,5297
69
+ airbyte_source_shopify-3.1.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
70
+ airbyte_source_shopify-3.1.2.dist-info/entry_points.txt,sha256=SyTwKSsPk9MCdPf01saWpnp8hcmZOgBssVcSIvMbBeQ,57
71
+ airbyte_source_shopify-3.1.2.dist-info/RECORD,,
source_shopify/source.py CHANGED
@@ -11,6 +11,7 @@ from requests.exceptions import ConnectionError, RequestException, SSLError
11
11
  from airbyte_cdk.models import FailureType, SyncMode
12
12
  from airbyte_cdk.sources import AbstractSource
13
13
  from airbyte_cdk.sources.streams import Stream
14
+ from airbyte_cdk.sources.streams.http.exceptions import BaseBackoffException
14
15
  from airbyte_cdk.utils import AirbyteTracedException
15
16
 
16
17
  from .auth import MissingAccessTokenError, ShopifyAuthenticator
@@ -108,6 +109,8 @@ class ConnectionCheckTest:
108
109
  return False, self.describe_error("index_error", shop_name, response)
109
110
  except MissingAccessTokenError:
110
111
  return False, self.describe_error("missing_token_error")
112
+ except (BaseBackoffException, AirbyteTracedException) as error:
113
+ return False, self.describe_error("connection_error", shop_name) or str(error)
111
114
 
112
115
  def get_shop_id(self) -> str:
113
116
  """