wcp-library 1.4.6__py3-none-any.whl → 1.4.7__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.
wcp_library/sql/__init__.py
CHANGED
@@ -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
|
@@ -14,10 +14,10 @@ wcp_library/ftp/sftp.py,sha256=hykXGLGdxe7DYAxFdTwjPjTEOYuIpSMyK3NOiTQNUK0,4176
|
|
14
14
|
wcp_library/informatica.py,sha256=_g9lzSd-JLsY4e5_g6YcxQtOxP6fkg4sGfvNJaAN7jY,8123
|
15
15
|
wcp_library/logging.py,sha256=e6gG7HFgUrMajUZs4Gs0atFfOJJmdmxN0GerfynNWlY,2061
|
16
16
|
wcp_library/selenium_helper.py,sha256=w8YUC0pq7TkWiobc2ri4QR5fcHrrZgB5RAEfAdxZiuk,3780
|
17
|
-
wcp_library/sql/__init__.py,sha256=
|
17
|
+
wcp_library/sql/__init__.py,sha256=ocKH9-1HPDF5OhUKkpby3uNvQ6RBt2YD81nwwS90PgE,1980
|
18
18
|
wcp_library/sql/oracle.py,sha256=jcGoH2iGkgxW-RJV5FRf_CwNzilkxPN6_pJ27te5Qe0,15815
|
19
19
|
wcp_library/sql/postgres.py,sha256=Kfj5kfNwLyhE6bZIcqj6tjpbiGSyAMErY_Kr9eGm-2Q,14814
|
20
20
|
wcp_library/time.py,sha256=ktSzhK7SZnGPNXobFexnhFGQAcriLCJQKxnO0fed8fQ,1740
|
21
|
-
wcp_library-1.4.
|
22
|
-
wcp_library-1.4.
|
23
|
-
wcp_library-1.4.
|
21
|
+
wcp_library-1.4.7.dist-info/METADATA,sha256=RGM4LGpK-JwoauS4O45Cgi8yBM2Vehz_thSD46YvONY,1497
|
22
|
+
wcp_library-1.4.7.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
23
|
+
wcp_library-1.4.7.dist-info/RECORD,,
|
File without changes
|