wcp-library 1.4.6__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.
Files changed (23) hide show
  1. {wcp_library-1.4.6 → wcp_library-1.4.7}/PKG-INFO +1 -1
  2. {wcp_library-1.4.6 → wcp_library-1.4.7}/pyproject.toml +1 -1
  3. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/sql/__init__.py +2 -2
  4. {wcp_library-1.4.6 → wcp_library-1.4.7}/README.md +0 -0
  5. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/__init__.py +0 -0
  6. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/__init__.py +0 -0
  7. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/_credential_manager_asynchronous.py +0 -0
  8. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/_credential_manager_synchronous.py +0 -0
  9. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/api.py +0 -0
  10. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/ftp.py +0 -0
  11. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/internet.py +0 -0
  12. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/oracle.py +0 -0
  13. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/credentials/postgres.py +0 -0
  14. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/emailing.py +0 -0
  15. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/ftp/__init__.py +0 -0
  16. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/ftp/ftp.py +0 -0
  17. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/ftp/sftp.py +0 -0
  18. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/informatica.py +0 -0
  19. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/logging.py +0 -0
  20. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/selenium_helper.py +0 -0
  21. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/sql/oracle.py +0 -0
  22. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/sql/postgres.py +0 -0
  23. {wcp_library-1.4.6 → wcp_library-1.4.7}/wcp_library/time.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: wcp-library
3
- Version: 1.4.6
3
+ Version: 1.4.7
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Author: Mitch-Petersen
6
6
  Author-email: mitch.petersen@wcap.ca
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wcp-library"
3
- version = "1.4.6"
3
+ version = "1.4.7"
4
4
  description = "Common utilites for internal development at WCP"
5
5
  authors = ["Mitch-Petersen <mitch.petersen@wcap.ca>"]
6
6
  readme = "README.md"
@@ -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
File without changes