dbt-common 1.25.0__py3-none-any.whl → 1.26.0__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.
dbt_common/__about__.py CHANGED
@@ -1 +1 @@
1
- version = "1.25.0"
1
+ version = "1.26.0"
dbt_common/constants.py CHANGED
@@ -4,3 +4,6 @@ SECRET_ENV_PREFIX = "DBT_ENV_SECRET"
4
4
  # Prefix which identifies environment variables that should not be visible
5
5
  # via macros, flags, or other user-facing mechanisms.
6
6
  PRIVATE_ENV_PREFIX = "DBT_ENV_PRIVATE"
7
+
8
+ # Prefix for dbt engine environment varaibles that are user settable
9
+ ENGINE_ENV_PREFIX = "DBT_ENGINE"
@@ -4,6 +4,7 @@ from typing import Callable
4
4
  from dbt_common.events.types import RecordRetryException, RetryExternalCall
5
5
  from dbt_common.exceptions import ConnectionError
6
6
  from tarfile import ReadError
7
+ from gzip import BadGzipFile
7
8
 
8
9
  import requests
9
10
 
@@ -23,6 +24,7 @@ def connection_exception_retry(fn: Callable, max_attempts: int, attempt: int = 0
23
24
  requests.exceptions.RequestException,
24
25
  ReadError,
25
26
  EOFError,
27
+ BadGzipFile,
26
28
  ) as exc:
27
29
  if attempt <= max_attempts - 1:
28
30
  # This import needs to be inline to avoid circular dependency
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbt-common
3
- Version: 1.25.0
3
+ Version: 1.26.0
4
4
  Summary: The shared common utilities that dbt-core and adapter implementations use
5
5
  Project-URL: Homepage, https://github.com/dbt-labs/dbt-common
6
6
  Project-URL: Repository, https://github.com/dbt-labs/dbt-common.git
@@ -1,7 +1,7 @@
1
- dbt_common/__about__.py,sha256=QX2Dem6cVOevMhWZTrdzGqN9LOfZeRKDEwsA4JagBEc,19
1
+ dbt_common/__about__.py,sha256=oBCwt1JS6kO5kR1ng_yPT4cEK176f6I8ATbV6y_Wrdg,19
2
2
  dbt_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  dbt_common/behavior_flags.py,sha256=hQzxCqQSweJbRp_xoQqNnlUF77PBuOdCdLOSdcBlkxk,4885
4
- dbt_common/constants.py,sha256=-Y5DIL1SDPQWtlCNizXRYxFgbx1D7LaLs1ysamvGMRk,278
4
+ dbt_common/constants.py,sha256=6ATQPXft7vw_vyhnmkGy3geKfuzWC3ZiUH4kuNuGQ5w,381
5
5
  dbt_common/context.py,sha256=-ErtKG4xfOh1-Y569fwu6u2O381nRan18HhATrYDoZE,2950
6
6
  dbt_common/dataclass_schema.py,sha256=u2S0dxwxIghv8RMqC91HlWZJVxmsC_844yZQaGyOwdY,5563
7
7
  dbt_common/helper_types.py,sha256=wxbbjfsvHVraWexK88PEY3q_dAYqlPl6yOIXnpxCcyY,11569
@@ -50,13 +50,13 @@ dbt_common/exceptions/macros.py,sha256=2nujJrtpWHnhBwcyhcOmeVaEzILh3W9gtyP6vVpkA
50
50
  dbt_common/exceptions/system.py,sha256=scoKnSx2frTFCrfk2cH0g-z3MuzE-SEBXFC9P-jzB2s,1603
51
51
  dbt_common/utils/__init__.py,sha256=8PNb_A9zm2YfYMa0GsM-pAyJy3Iu0FUtWKvCs8kFhD0,549
52
52
  dbt_common/utils/casting.py,sha256=xMulzzTrIQvw65UC9wr9oUWw5xp-BcUKtHaE8dldfII,679
53
- dbt_common/utils/connection.py,sha256=gyEdWPG7NauZqMX9ZzbglaaB8itEpdwtn-0s_Zw79rk,1411
53
+ dbt_common/utils/connection.py,sha256=Nlodfp79tFNsnX8anNYKWYYTKooF9m02Hu6OND7g-nk,1461
54
54
  dbt_common/utils/dict.py,sha256=unI-kJs2yvw7ic2U71-6H8koVRknkb0jCk7W_FCq6_I,4014
55
55
  dbt_common/utils/encoding.py,sha256=6_kSY2FvGNYMg7oX7PrbvVioieydih3Kl7Ii802LaHI,1705
56
56
  dbt_common/utils/executor.py,sha256=pNY0UbPlwQmTE69Vt_Rj91YGCIOEaqeYU3CjAds0T70,2454
57
57
  dbt_common/utils/formatting.py,sha256=JUn5rzJ-uajs9wPCN0-f2iRFY1pOJF5YjTD9dERuLoc,165
58
58
  dbt_common/utils/jinja.py,sha256=JXgNmJArGGy0h7qkbNLA3zaEQmoF1CxsNBYTlIwFXDw,1101
59
- dbt_common-1.25.0.dist-info/METADATA,sha256=5fiOVfq99SLHwvLe9J12OZrkDP2HCYIUW5LcIoqhJnE,4988
60
- dbt_common-1.25.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
61
- dbt_common-1.25.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
62
- dbt_common-1.25.0.dist-info/RECORD,,
59
+ dbt_common-1.26.0.dist-info/METADATA,sha256=V52nMLpy0Z4YxWJfWQKPHE6whdDUVA0wDmuoKUS5KSA,4988
60
+ dbt_common-1.26.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
61
+ dbt_common-1.26.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
62
+ dbt_common-1.26.0.dist-info/RECORD,,