wcp-library 1.4.5__tar.gz → 1.4.7__tar.gz
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.
- {wcp_library-1.4.5 → wcp_library-1.4.7}/PKG-INFO +1 -1
- {wcp_library-1.4.5 → wcp_library-1.4.7}/pyproject.toml +1 -1
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/sql/__init__.py +2 -2
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/sql/oracle.py +1 -1
- {wcp_library-1.4.5 → wcp_library-1.4.7}/README.md +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/__init__.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/__init__.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/_credential_manager_asynchronous.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/_credential_manager_synchronous.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/api.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/ftp.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/internet.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/oracle.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/postgres.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/emailing.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/ftp/__init__.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/ftp/ftp.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/ftp/sftp.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/informatica.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/logging.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/selenium_helper.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/sql/postgres.py +0 -0
- {wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/time.py +0 -0
@@ -23,7 +23,7 @@ def retry(f: callable) -> callable:
|
|
23
23
|
while True:
|
24
24
|
try:
|
25
25
|
return f(self, *args, **kwargs)
|
26
|
-
except (oracledb.OperationalError, psycopg.OperationalError) as e:
|
26
|
+
except (oracledb.OperationalError, oracledb.DatabaseError, psycopg.OperationalError) as e:
|
27
27
|
error_obj, = e.args
|
28
28
|
if error_obj.full_code in self.retry_error_codes and self._retry_count < self.retry_limit:
|
29
29
|
self._retry_count += 1
|
@@ -50,7 +50,7 @@ def async_retry(f: callable) -> callable:
|
|
50
50
|
while True:
|
51
51
|
try:
|
52
52
|
return await f(self, *args, **kwargs)
|
53
|
-
except (oracledb.OperationalError, psycopg.OperationalError) as e:
|
53
|
+
except (oracledb.OperationalError, oracledb.DatabaseError, psycopg.OperationalError) as e:
|
54
54
|
error_obj, = e.args
|
55
55
|
if error_obj.full_code in self.retry_error_codes and self._retry_count < self.retry_limit:
|
56
56
|
self._retry_count += 1
|
@@ -326,7 +326,7 @@ class AsyncOracleConnection(object):
|
|
326
326
|
|
327
327
|
self._retry_count = 0
|
328
328
|
self.retry_limit = 50
|
329
|
-
self.retry_error_codes = ['ORA-01033', 'DPY-6005', 'DPY-4011']
|
329
|
+
self.retry_error_codes = ['ORA-01033', 'DPY-6005', 'DPY-4011', 'ORA-08103']
|
330
330
|
|
331
331
|
@async_retry
|
332
332
|
async def _connect(self) -> None:
|
File without changes
|
File without changes
|
File without changes
|
{wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/_credential_manager_asynchronous.py
RENAMED
File without changes
|
{wcp_library-1.4.5 → wcp_library-1.4.7}/wcp_library/credentials/_credential_manager_synchronous.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|