quollio-core 0.4.13__py3-none-any.whl → 0.4.14__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.
- quollio_core/__init__.py +1 -1
- quollio_core/helper/log_utils.py +0 -1
- quollio_core/repository/qdc.py +4 -4
- {quollio_core-0.4.13.dist-info → quollio_core-0.4.14.dist-info}/METADATA +2 -1
- {quollio_core-0.4.13.dist-info → quollio_core-0.4.14.dist-info}/RECORD +7 -7
- {quollio_core-0.4.13.dist-info → quollio_core-0.4.14.dist-info}/LICENSE +0 -0
- {quollio_core-0.4.13.dist-info → quollio_core-0.4.14.dist-info}/WHEEL +0 -0
quollio_core/__init__.py
CHANGED
quollio_core/helper/log_utils.py
CHANGED
quollio_core/repository/qdc.py
CHANGED
@@ -48,7 +48,7 @@ class QDCExternalAPIClient:
|
|
48
48
|
logger.error("Timeout Error: {}".format(te))
|
49
49
|
raise
|
50
50
|
except RequestException as re:
|
51
|
-
logger.error("Error: {}".format(re))
|
51
|
+
logger.error("RequestException Error: {}".format(re))
|
52
52
|
raise
|
53
53
|
|
54
54
|
def _refresh_token_if_expired(self):
|
@@ -57,7 +57,7 @@ class QDCExternalAPIClient:
|
|
57
57
|
self.auth_token = self._get_auth_token()
|
58
58
|
|
59
59
|
def _gen_session(self) -> requests.Session:
|
60
|
-
retry = requests.adapters.Retry(total=
|
60
|
+
retry = requests.adapters.Retry(total=9, backoff_factor=1, status_forcelist=[429, 500, 503, 504])
|
61
61
|
session = requests.Session()
|
62
62
|
session.mount("http://", requests.adapters.HTTPAdapter(max_retries=retry))
|
63
63
|
session.mount("https://", requests.adapters.HTTPAdapter(max_retries=retry))
|
@@ -78,7 +78,7 @@ class QDCExternalAPIClient:
|
|
78
78
|
except Timeout as te:
|
79
79
|
logger.error(f"Timeout Error: {te} global_id: {global_id}.")
|
80
80
|
except RequestException as re:
|
81
|
-
logger.error(f"Error: {re} global_id: {global_id}.")
|
81
|
+
logger.error(f"RequestException Error: {re} global_id: {global_id}.")
|
82
82
|
else:
|
83
83
|
return res.status_code
|
84
84
|
|
@@ -97,7 +97,7 @@ class QDCExternalAPIClient:
|
|
97
97
|
except Timeout as te:
|
98
98
|
logger.error(f"Timeout Error: {te} downstream_global_id: {global_id}.")
|
99
99
|
except RequestException as re:
|
100
|
-
logger.error(f"Error: {re} downstream_global_id: {global_id}.")
|
100
|
+
logger.error(f"RequestException Error: {re} downstream_global_id: {global_id}.")
|
101
101
|
else:
|
102
102
|
return res.status_code
|
103
103
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: quollio-core
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.14
|
4
4
|
Summary: Quollio Core
|
5
5
|
Author-email: quollio-dev <qt.dev@quollio.com>
|
6
6
|
Maintainer-email: RyoAriyama <ryo.arym@gmail.com>, tharuta <35373297+TakumiHaruta@users.noreply.github.com>
|
@@ -42,6 +42,7 @@ Requires-Dist: coverage>=7.3.2 ; extra == "test"
|
|
42
42
|
Requires-Dist: isort>=5.10.1 ; extra == "test"
|
43
43
|
Requires-Dist: pyproject-flake8>=0.0.1-alpha.2 ; extra == "test"
|
44
44
|
Requires-Dist: pytest>=5.2 ; extra == "test"
|
45
|
+
Requires-Dist: responses>=0.25.3 ; extra == "test"
|
45
46
|
Requires-Dist: dbt-osmosis==0.12.5 ; extra == "test"
|
46
47
|
Project-URL: Home, https://quollio.com
|
47
48
|
Project-URL: Source, https://github.com/QuollioLabs/quollio-core
|
@@ -1,4 +1,4 @@
|
|
1
|
-
quollio_core/__init__.py,sha256=
|
1
|
+
quollio_core/__init__.py,sha256=oZ5C0ojabC50oNs9bVP8Hzlhd4r5SMBexiBvhoX1gDY,84
|
2
2
|
quollio_core/bigquery.py,sha256=6Oq4DVGpa3X21Es_nbrsb8pK3vaxwb9Egnvq3huo95k,5894
|
3
3
|
quollio_core/bricks.py,sha256=4M0fzxwtFCwAv2Lat9XYdLtoGp27fy-w6a3ty1dExSc,9999
|
4
4
|
quollio_core/redshift.py,sha256=x86Fu3QJoJNGKPYbOcqUgQzzj1qNR6I3dd0R9oQClUE,10720
|
@@ -65,7 +65,7 @@ quollio_core/helper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
65
65
|
quollio_core/helper/core.py,sha256=wbu4FWI7YiFEttXGSuj3tMyAhtPAFlHOjDpWJGNXOHA,1202
|
66
66
|
quollio_core/helper/env_default.py,sha256=H6gbSGUPrEDZr4YDrL49hbOpw6RntI4U82kX1q6vUnI,2148
|
67
67
|
quollio_core/helper/log.py,sha256=flxyZZ44G79l1TaUp3OT58uCHcnE5z_pCduwoeI6IUs,645
|
68
|
-
quollio_core/helper/log_utils.py,sha256=
|
68
|
+
quollio_core/helper/log_utils.py,sha256=QontLKETHjSAbQniJ7YqS0RY2AYvFHSjrlPiGr317LE,1391
|
69
69
|
quollio_core/profilers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
70
70
|
quollio_core/profilers/bigquery.py,sha256=LQzDPo-fyTHPc4C-LC59Aby5cJ7m-m4THzl9HUurXm0,5641
|
71
71
|
quollio_core/profilers/databricks.py,sha256=ik4RiR_GOeU3S7s6C6Y9SGe1D_Y_f98BDWJVlEJXL4U,7868
|
@@ -78,10 +78,10 @@ quollio_core/repository/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
78
78
|
quollio_core/repository/bigquery.py,sha256=3AyGcJNYGnUyMweyc6lGm4quwrOzd-ZBS2zNnFwafII,3990
|
79
79
|
quollio_core/repository/databricks.py,sha256=9Cgdv8qBnVaHqu3RA-IUBieAqb69moQ-KAAMVSf5Ds4,1877
|
80
80
|
quollio_core/repository/dbt.py,sha256=cnLwJPywLi8VowVW7zfIBa9jxVwDWO7xzzNRn1vWiuw,659
|
81
|
-
quollio_core/repository/qdc.py,sha256=
|
81
|
+
quollio_core/repository/qdc.py,sha256=0Gz6jauYMzs2bRAD-eO4RSeCIRq8y-JxMWfiefUVULs,4623
|
82
82
|
quollio_core/repository/redshift.py,sha256=p2ouEuYcDCjx1oBhc6H1ekQsvEqHGd3bFu3PW0ngYBc,2880
|
83
83
|
quollio_core/repository/snowflake.py,sha256=J9rHshfWdOSnjQWxwGEYPpAU2lY7Tu5UFB_BNakkAX0,1892
|
84
|
-
quollio_core-0.4.
|
85
|
-
quollio_core-0.4.
|
86
|
-
quollio_core-0.4.
|
87
|
-
quollio_core-0.4.
|
84
|
+
quollio_core-0.4.14.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
|
85
|
+
quollio_core-0.4.14.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
86
|
+
quollio_core-0.4.14.dist-info/METADATA,sha256=znuz_b7Q1o8MA7TWteGJAsDz5KXWOWMy-q3VRnDpO6Q,6887
|
87
|
+
quollio_core-0.4.14.dist-info/RECORD,,
|
File without changes
|
File without changes
|