wcp-library 1.5.2__py3-none-any.whl → 1.5.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.
- wcp_library/credentials/_credential_manager_asynchronous.py +1 -1
- wcp_library/sql/postgres.py +3 -1
- {wcp_library-1.5.2.dist-info → wcp_library-1.5.4.dist-info}/METADATA +11 -13
- {wcp_library-1.5.2.dist-info → wcp_library-1.5.4.dist-info}/RECORD +5 -5
- {wcp_library-1.5.2.dist-info → wcp_library-1.5.4.dist-info}/WHEEL +1 -1
@@ -103,7 +103,7 @@ class AsyncCredentialManager(ABC):
|
|
103
103
|
logger.debug(f"Credentials for {username} retrieved")
|
104
104
|
return return_credential
|
105
105
|
|
106
|
-
async def
|
106
|
+
async def get_credential_from_id(self, password_id: int) -> dict:
|
107
107
|
"""
|
108
108
|
Get the credentials for a specific Password ID
|
109
109
|
|
wcp_library/sql/postgres.py
CHANGED
@@ -34,6 +34,7 @@ def _connect_warehouse(username: str, password: str, hostname: str, port: int, d
|
|
34
34
|
conninfo=conninfo,
|
35
35
|
min_size=min_connections,
|
36
36
|
max_size=max_connections,
|
37
|
+
kwargs={'options': '-c datestyle=ISO,YMD'},
|
37
38
|
open=True
|
38
39
|
)
|
39
40
|
return session_pool
|
@@ -60,7 +61,8 @@ async def _async_connect_warehouse(username: str, password: str, hostname: str,
|
|
60
61
|
session_pool = AsyncConnectionPool(
|
61
62
|
conninfo=conninfo,
|
62
63
|
min_size=min_connections,
|
63
|
-
max_size=max_connections
|
64
|
+
max_size=max_connections,
|
65
|
+
kwargs={"options": "-c datestyle=ISO,YMD"}
|
64
66
|
)
|
65
67
|
return session_pool
|
66
68
|
|
@@ -1,31 +1,29 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: wcp-library
|
3
|
-
Version: 1.5.
|
3
|
+
Version: 1.5.4
|
4
4
|
Summary: Common utilites for internal development at WCP
|
5
5
|
Author: Mitch-Petersen
|
6
6
|
Author-email: mitch.petersen@wcap.ca
|
7
|
-
Requires-Python: >=3.12
|
7
|
+
Requires-Python: >=3.12.0
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
9
9
|
Classifier: Programming Language :: Python :: 3.12
|
10
10
|
Classifier: Programming Language :: Python :: 3.13
|
11
|
-
Requires-Dist: aiohttp (>=3.
|
11
|
+
Requires-Dist: aiohttp (>=3.11.18,<4.0.0)
|
12
12
|
Requires-Dist: ftputil (>=5.1.0,<6.0.0)
|
13
13
|
Requires-Dist: get-gecko-driver (>=1.4,<2.0)
|
14
|
-
Requires-Dist: oracledb (>=
|
14
|
+
Requires-Dist: oracledb (>=3.1.0,<4.0.0)
|
15
15
|
Requires-Dist: pandas (>=2.2.3,<3.0.0)
|
16
|
-
Requires-Dist: paramiko (>=3.5.
|
16
|
+
Requires-Dist: paramiko (>=3.5.1,<4.0.0)
|
17
17
|
Requires-Dist: pip-system-certs (>=4.0,<5.0)
|
18
|
-
Requires-Dist: psycopg (>=3.2.
|
19
|
-
Requires-Dist: psycopg-binary (>=3.2.
|
20
|
-
Requires-Dist: psycopg-pool (>=3.2.
|
21
|
-
Requires-Dist: pycryptodome (>=3.
|
22
|
-
Requires-Dist: pytz (>=
|
18
|
+
Requires-Dist: psycopg (>=3.2.7,<4.0.0)
|
19
|
+
Requires-Dist: psycopg-binary (>=3.2.7,<4.0.0)
|
20
|
+
Requires-Dist: psycopg-pool (>=3.2.6,<4.0.0)
|
21
|
+
Requires-Dist: pycryptodome (>=3.22.0,<4.0.0)
|
22
|
+
Requires-Dist: pytz (>=2025.2,<2026.0)
|
23
23
|
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
24
24
|
Requires-Dist: selenium (>=4.31.0,<5.0.0)
|
25
25
|
Requires-Dist: webdriver-manager (>=4.0.2,<5.0.0)
|
26
|
-
Requires-Dist: yarl (>=1.
|
27
|
-
Project-URL: Documentation, https://github.com/Whitecap-DNA/WCP-Library/wiki
|
28
|
-
Project-URL: Repository, https://github.com/Whitecap-DNA/WCP-Library
|
26
|
+
Requires-Dist: yarl (>=1.20.0,<2.0.0)
|
29
27
|
Description-Content-Type: text/markdown
|
30
28
|
|
31
29
|
# WCP-Library
|
@@ -1,6 +1,6 @@
|
|
1
1
|
wcp_library/__init__.py,sha256=bdNwVRQugYLeKlJFj3kE0U1LvqlK1O0k8CjF-_xqrEE,625
|
2
2
|
wcp_library/credentials/__init__.py,sha256=cfClJuFs9E3o_-5IPSKVJrkhQTiC3S2HhnZdrab9L6U,1856
|
3
|
-
wcp_library/credentials/_credential_manager_asynchronous.py,sha256=
|
3
|
+
wcp_library/credentials/_credential_manager_asynchronous.py,sha256=A7OJkBsNJ5fzNKoMih8GyLCIQytLViQgwccOrtdBOL8,6392
|
4
4
|
wcp_library/credentials/_credential_manager_synchronous.py,sha256=QUF3OOUgx0gu2PKFykkB69C-Kf_-9lyo2RIVA2JYvyc,5764
|
5
5
|
wcp_library/credentials/api.py,sha256=NZfZcN46-ZVB_-DatR0DLBYAtJxulDlKD2cculzbyXo,2625
|
6
6
|
wcp_library/credentials/ftp.py,sha256=lSjOlfU68j9PsOCaoWJSdjbR1QmjTxjVmSxOpMdMG7Q,2591
|
@@ -18,8 +18,8 @@ wcp_library/selenium/_selenium_driver.py,sha256=Es83ISNryOVhYGDo_xrr8nCLsbnVBeXs
|
|
18
18
|
wcp_library/selenium/selenium_helper.py,sha256=OJvC0RlblfMWhmjNxiY582yuzkDgjzFZMuRz_8to3PY,2000
|
19
19
|
wcp_library/sql/__init__.py,sha256=ocKH9-1HPDF5OhUKkpby3uNvQ6RBt2YD81nwwS90PgE,1980
|
20
20
|
wcp_library/sql/oracle.py,sha256=jcGoH2iGkgxW-RJV5FRf_CwNzilkxPN6_pJ27te5Qe0,15815
|
21
|
-
wcp_library/sql/postgres.py,sha256=
|
21
|
+
wcp_library/sql/postgres.py,sha256=tIevMc0d_P6TqxSErCZL031k3ZBa2FgXWsRrP_UdDPw,14918
|
22
22
|
wcp_library/time.py,sha256=ktSzhK7SZnGPNXobFexnhFGQAcriLCJQKxnO0fed8fQ,1740
|
23
|
-
wcp_library-1.5.
|
24
|
-
wcp_library-1.5.
|
25
|
-
wcp_library-1.5.
|
23
|
+
wcp_library-1.5.4.dist-info/METADATA,sha256=grxsHXhbmB9P6kU4uZHqiHXYNVbCiHs2RaLCLq36jjk,1393
|
24
|
+
wcp_library-1.5.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
25
|
+
wcp_library-1.5.4.dist-info/RECORD,,
|