wcp-library 1.3.1__tar.gz → 1.3.3__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.3.1 → wcp_library-1.3.3}/PKG-INFO +1 -1
- {wcp_library-1.3.1 → wcp_library-1.3.3}/pyproject.toml +1 -1
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/credential_manager_asynchronous.py +1 -1
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/sql/postgres.py +4 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/README.md +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/__init__.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/__init__.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/credential_manager_synchronous.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/ftp.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/oracle.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/postgres.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/emailing.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/ftp/__init__.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/ftp/ftp.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/ftp/sftp.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/informatica.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/logging.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/selenium_helper.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/sql/__init__.py +0 -0
- {wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/sql/oracle.py +0 -0
@@ -245,6 +245,10 @@ class PostgresConnection(object):
|
|
245
245
|
if remove_nan:
|
246
246
|
dfObj = dfObj.replace({np.nan: None})
|
247
247
|
main_dict = dfObj.to_dict('records')
|
248
|
+
for record in main_dict:
|
249
|
+
for key in record:
|
250
|
+
if record[key] == '':
|
251
|
+
record[key] = None
|
248
252
|
|
249
253
|
query = """INSERT INTO {} ({}) VALUES ({})""".format(outputTableName, col, params)
|
250
254
|
self.execute_many(query, main_dict)
|
File without changes
|
File without changes
|
File without changes
|
{wcp_library-1.3.1 → wcp_library-1.3.3}/wcp_library/credentials/credential_manager_synchronous.py
RENAMED
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
|
File without changes
|
File without changes
|
File without changes
|