wcp-library 1.0.4__py3-none-any.whl → 1.0.5__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/__init__.py CHANGED
@@ -11,4 +11,4 @@ if getattr(sys, 'frozen', False):
11
11
  application_path = sys.executable + '-'
12
12
  application_path = Path(application_path).parent
13
13
  else:
14
- application_path = Path(os.path.dirname(os.path.abspath(__file__)))
14
+ application_path = Path(os.environ['VIRTUAL_ENV']).parent
@@ -67,8 +67,8 @@ class AsyncOracleConnection(object):
67
67
 
68
68
  sid_or_service = self._database if self._database else self._sid
69
69
 
70
- self._session_pool = connect_warehouse(self._username, self._password, self._hostname, self._port,
71
- sid_or_service)
70
+ self._session_pool = await connect_warehouse(self._username, self._password, self._hostname, self._port,
71
+ sid_or_service)
72
72
 
73
73
  async def set_user(self, credentials_dict: dict) -> None:
74
74
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.0.4
3
+ Version: 1.0.5
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
@@ -1,10 +1,10 @@
1
- wcp_library/__init__.py,sha256=6K37HAqbOuim9T1s-C5GlYW9sQ2AuDKh5z_TlvHvy0U,337
1
+ wcp_library/__init__.py,sha256=vgWnSAz9S7evUpt8lfZVBg2NWAn-wenaAaPcBnfJxxc,327
2
2
  wcp_library/async_credentials/__init__.py,sha256=ny6UitVV_xIecVzaWuHrJO9LpywBPke6u4C0F2wiM7o,1881
3
3
  wcp_library/async_credentials/api.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
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=4Lg1F5FZV4xRz15CtjOt1EYA0kyl-JoHq3G3K6d0N80,7075
7
+ wcp_library/async_sql/oracle.py,sha256=p7O9-dULfBtNr6020w-TUjqe7wPn4NUunoriDTBj_1U,7087
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
@@ -16,6 +16,6 @@ wcp_library/logging.py,sha256=h8p_Ezo_QPSIKrPxzIlNVXddU4IXHyp1_2NqVDirfuk,1958
16
16
  wcp_library/sql/__init__.py,sha256=CLlBEBrWVAwE79bUxuQiwikSrYH8m9QRYSJ2l0-ofsY,1003
17
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.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,,
19
+ wcp_library-1.0.5.dist-info/METADATA,sha256=Ec5_fh2q9qbnoFJAqlyFddSBpn1RWTZw-CKL9uUXMs4,1338
20
+ wcp_library-1.0.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
21
+ wcp_library-1.0.5.dist-info/RECORD,,