dsw-database 4.18.3__tar.gz → 4.19.0__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.
- {dsw_database-4.18.3/dsw_database.egg-info → dsw_database-4.19.0}/PKG-INFO +2 -2
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw/database/build_info.py +4 -4
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw/database/database.py +4 -1
- {dsw_database-4.18.3 → dsw_database-4.19.0/dsw_database.egg-info}/PKG-INFO +2 -2
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw_database.egg-info/requires.txt +1 -1
- {dsw_database-4.18.3 → dsw_database-4.19.0}/pyproject.toml +2 -2
- {dsw_database-4.18.3 → dsw_database-4.19.0}/LICENSE +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/README.md +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw/database/__init__.py +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw/database/model.py +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw_database.egg-info/SOURCES.txt +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw_database.egg-info/dependency_links.txt +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw_database.egg-info/not-zip-safe +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/dsw_database.egg-info/top_level.txt +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/setup.cfg +0 -0
- {dsw_database-4.18.3 → dsw_database-4.19.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dsw-database
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.19.0
|
|
4
4
|
Summary: Library for managing DSW database
|
|
5
5
|
Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -20,7 +20,7 @@ Description-Content-Type: text/markdown
|
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: psycopg[binary]
|
|
22
22
|
Requires-Dist: tenacity
|
|
23
|
-
Requires-Dist: dsw-config==4.
|
|
23
|
+
Requires-Dist: dsw-config==4.19.0
|
|
24
24
|
Dynamic: license-file
|
|
25
25
|
|
|
26
26
|
# Data Stewardship Wizard: Database
|
|
@@ -9,9 +9,9 @@ BuildInfo = namedtuple(
|
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
BUILD_INFO = BuildInfo(
|
|
12
|
-
version='v4.
|
|
13
|
-
built_at='2025-
|
|
14
|
-
sha='
|
|
12
|
+
version='v4.19.0~0cdb9b4',
|
|
13
|
+
built_at='2025-06-03 07:41:41Z',
|
|
14
|
+
sha='0cdb9b4e5cc117b0d2465282b274750d80927ace',
|
|
15
15
|
branch='HEAD',
|
|
16
|
-
tag='v4.
|
|
16
|
+
tag='v4.19.0',
|
|
17
17
|
)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# pylint: disable=no-member
|
|
1
2
|
import datetime
|
|
2
3
|
import logging
|
|
3
4
|
import typing
|
|
@@ -619,8 +620,10 @@ class PostgresConnection:
|
|
|
619
620
|
self._connect_db()
|
|
620
621
|
|
|
621
622
|
@property
|
|
622
|
-
def connection(self):
|
|
623
|
+
def connection(self) -> psycopg.Connection:
|
|
623
624
|
self.connect()
|
|
625
|
+
if not self._connection:
|
|
626
|
+
raise RuntimeError('Connection is not established')
|
|
624
627
|
return self._connection
|
|
625
628
|
|
|
626
629
|
def new_cursor(self, use_dict: bool = False):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dsw-database
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.19.0
|
|
4
4
|
Summary: Library for managing DSW database
|
|
5
5
|
Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -20,7 +20,7 @@ Description-Content-Type: text/markdown
|
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: psycopg[binary]
|
|
22
22
|
Requires-Dist: tenacity
|
|
23
|
-
Requires-Dist: dsw-config==4.
|
|
23
|
+
Requires-Dist: dsw-config==4.19.0
|
|
24
24
|
Dynamic: license-file
|
|
25
25
|
|
|
26
26
|
# Data Stewardship Wizard: Database
|
|
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = 'dsw-database'
|
|
7
|
-
version = "4.
|
|
7
|
+
version = "4.19.0"
|
|
8
8
|
description = 'Library for managing DSW database'
|
|
9
9
|
readme = 'README.md'
|
|
10
10
|
keywords = ['dsw', 'database']
|
|
@@ -26,7 +26,7 @@ dependencies = [
|
|
|
26
26
|
'psycopg[binary]',
|
|
27
27
|
'tenacity',
|
|
28
28
|
# DSW
|
|
29
|
-
"dsw-config==4.
|
|
29
|
+
"dsw-config==4.19.0",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
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
|