wcp-library 1.0.0__tar.gz → 1.0.1__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.
- {wcp_library-1.0.0 → wcp_library-1.0.1}/PKG-INFO +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/pyproject.toml +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/oracle.py +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/postgres.py +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_sql/oracle.py +2 -2
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_sql/postgres.py +2 -2
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/oracle.py +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/postgres.py +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/logging.py +1 -1
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/sql/oracle.py +2 -2
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/sql/postgres.py +2 -2
- {wcp_library-1.0.0 → wcp_library-1.0.1}/README.md +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/__init__.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/__init__.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_credentials/api.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/async_sql/__init__.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/__init__.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/credentials/api.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/emailing.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/informatica.py +0 -0
- {wcp_library-1.0.0 → wcp_library-1.0.1}/wcp_library/sql/__init__.py +0 -0
@@ -5,7 +5,7 @@ import pandas as pd
|
|
5
5
|
import oracledb
|
6
6
|
from oracledb import AsyncConnectionPool
|
7
7
|
|
8
|
-
from
|
8
|
+
from wcp_library.async_sql import retry
|
9
9
|
|
10
10
|
logger = logging.getLogger(__name__)
|
11
11
|
|
@@ -36,7 +36,7 @@ async def connect_warehouse(username: str, password: str, hostname: str, port: i
|
|
36
36
|
return session_pool
|
37
37
|
|
38
38
|
|
39
|
-
class
|
39
|
+
class AsyncOracleConnection(object):
|
40
40
|
"""
|
41
41
|
SQL Connection Class
|
42
42
|
|
@@ -5,7 +5,7 @@ import pandas as pd
|
|
5
5
|
from psycopg.sql import SQL
|
6
6
|
from psycopg_pool import AsyncConnectionPool
|
7
7
|
|
8
|
-
from
|
8
|
+
from wcp_library.async_sql import retry
|
9
9
|
|
10
10
|
logger = logging.getLogger(__name__)
|
11
11
|
|
@@ -33,7 +33,7 @@ async def connect_warehouse(username: str, password: str, hostname: str, port: i
|
|
33
33
|
return session_pool
|
34
34
|
|
35
35
|
|
36
|
-
class
|
36
|
+
class AsyncPostgresConnection(object):
|
37
37
|
"""
|
38
38
|
SQL Connection Class
|
39
39
|
|
@@ -5,7 +5,7 @@ import pandas as pd
|
|
5
5
|
import oracledb
|
6
6
|
from oracledb import ConnectionPool
|
7
7
|
|
8
|
-
from
|
8
|
+
from wcp_library.sql import retry
|
9
9
|
|
10
10
|
logger = logging.getLogger(__name__)
|
11
11
|
|
@@ -36,7 +36,7 @@ def connect_warehouse(username: str, password: str, hostname: str, port: int, da
|
|
36
36
|
return session_pool
|
37
37
|
|
38
38
|
|
39
|
-
class
|
39
|
+
class OracleConnection(object):
|
40
40
|
"""
|
41
41
|
SQL Connection Class
|
42
42
|
|
@@ -5,7 +5,7 @@ import pandas as pd
|
|
5
5
|
from psycopg.sql import SQL
|
6
6
|
from psycopg_pool import ConnectionPool
|
7
7
|
|
8
|
-
from
|
8
|
+
from wcp_library.sql import retry
|
9
9
|
|
10
10
|
logger = logging.getLogger(__name__)
|
11
11
|
|
@@ -33,7 +33,7 @@ def connect_warehouse(username: str, password: str, hostname: str, port: int, da
|
|
33
33
|
return session_pool
|
34
34
|
|
35
35
|
|
36
|
-
class
|
36
|
+
class PostgresConnection(object):
|
37
37
|
"""
|
38
38
|
SQL Connection Class
|
39
39
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|