wcp-library 1.0.3__py3-none-any.whl → 1.0.4__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.
@@ -78,7 +78,7 @@ class AsyncOracleConnection(object):
78
78
  :return: None
79
79
  """
80
80
 
81
- if not all([credentials_dict['Service'], credentials_dict['SID']]):
81
+ if not ([credentials_dict['Service'] or credentials_dict['SID']]):
82
82
  raise ValueError("Either Service or SID must be provided")
83
83
 
84
84
  self._username: Optional[str] = credentials_dict['UserName']
wcp_library/sql/oracle.py CHANGED
@@ -76,7 +76,7 @@ class OracleConnection(object):
76
76
  :return: None
77
77
  """
78
78
 
79
- if not all([credentials_dict['Service'], credentials_dict['SID']]):
79
+ if not ([credentials_dict['Service'] or credentials_dict['SID']]):
80
80
  raise ValueError("Either Service or SID must be provided")
81
81
 
82
82
  self._username: Optional[str] = credentials_dict['UserName']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Home-page: https://github.com/Whitecap-DNA/WCP-Library
6
6
  Author: Mitch-Petersen
@@ -4,7 +4,7 @@ wcp_library/async_credentials/api.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
4
4
  wcp_library/async_credentials/oracle.py,sha256=MvC7wsHnSyAyPGnRVlH0dvvW2xk5ap_IAByoHX4rUWY,5436
5
5
  wcp_library/async_credentials/postgres.py,sha256=3wjqtLH0Nc-U80iscYnz5DV-9M2X4IjPW51C5MI2_tI,5297
6
6
  wcp_library/async_sql/__init__.py,sha256=m4eWmUGYUEDomhhOp1ScB2uSIXFsNUNO589o5RwWdyM,1035
7
- wcp_library/async_sql/oracle.py,sha256=OdbYa4BhXKC39dGu21NmYKy_ofBgFAXC3NcGftNcJ9M,7076
7
+ wcp_library/async_sql/oracle.py,sha256=4Lg1F5FZV4xRz15CtjOt1EYA0kyl-JoHq3G3K6d0N80,7075
8
8
  wcp_library/async_sql/postgres.py,sha256=UQ5qLVV7__7qaft0237gq3E-sBupCf4zhU-cGX5Gln4,6193
9
9
  wcp_library/credentials/__init__.py,sha256=HRmg7mqcATeclIz3lZQjSR4nmK6aY6MK9-QXEYZoFrw,1857
10
10
  wcp_library/credentials/api.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -14,8 +14,8 @@ wcp_library/emailing.py,sha256=T8WXvMRA6cC0uRvyCw9yZcI-pAnCn0Gbn5B_ftRzEqA,2462
14
14
  wcp_library/informatica.py,sha256=IXZtk_9X1XLbOEwFrsyOwTgajQKvtXgANBHmuTOP3Kk,4064
15
15
  wcp_library/logging.py,sha256=h8p_Ezo_QPSIKrPxzIlNVXddU4IXHyp1_2NqVDirfuk,1958
16
16
  wcp_library/sql/__init__.py,sha256=CLlBEBrWVAwE79bUxuQiwikSrYH8m9QRYSJ2l0-ofsY,1003
17
- wcp_library/sql/oracle.py,sha256=9EDH6EYq_ph46l7Ug72vy6jUAOit4aAJcExQqbIuusk,6892
17
+ wcp_library/sql/oracle.py,sha256=wu9MEuIwfw9RP8pzjrnzvhSx--mjTjpXTJNLEIlKkGs,6891
18
18
  wcp_library/sql/postgres.py,sha256=rhRmxAwQI6LAu6Pk2Q3IGezo4BB1Ela7fvVfF1vRefc,6098
19
- wcp_library-1.0.3.dist-info/METADATA,sha256=ukCWK3X6pKl-WdossVqfv9maDNHnEIdBYPCE5B2wDWU,1338
20
- wcp_library-1.0.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
21
- wcp_library-1.0.3.dist-info/RECORD,,
19
+ wcp_library-1.0.4.dist-info/METADATA,sha256=2ZrZ8360iH2auuMJKvo3CEGh0uomS9fgl9E0EY4GnJE,1338
20
+ wcp_library-1.0.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
21
+ wcp_library-1.0.4.dist-info/RECORD,,