dsw-tdk 4.20.1__py2.py3-none-any.whl → 4.21.1__py2.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.
- dsw/tdk/api_client.py +7 -1
- dsw/tdk/build_info.py +4 -4
- dsw/tdk/consts.py +1 -1
- {dsw_tdk-4.20.1.dist-info → dsw_tdk-4.21.1.dist-info}/METADATA +2 -1
- {dsw_tdk-4.20.1.dist-info → dsw_tdk-4.21.1.dist-info}/RECORD +9 -9
- {dsw_tdk-4.20.1.dist-info → dsw_tdk-4.21.1.dist-info}/WHEEL +0 -0
- {dsw_tdk-4.20.1.dist-info → dsw_tdk-4.21.1.dist-info}/entry_points.txt +0 -0
- {dsw_tdk-4.20.1.dist-info → dsw_tdk-4.21.1.dist-info}/licenses/LICENSE +0 -0
- {dsw_tdk-4.20.1.dist-info → dsw_tdk-4.21.1.dist-info}/top_level.txt +0 -0
dsw/tdk/api_client.py
CHANGED
|
@@ -158,7 +158,13 @@ class DSWAPIClient:
|
|
|
158
158
|
async def login(self, email: str, password: str) -> str | None:
|
|
159
159
|
req = {'email': email, 'password': password}
|
|
160
160
|
body = await self._post_json('/tokens', json=req)
|
|
161
|
-
|
|
161
|
+
token_value = body.get('token', None)
|
|
162
|
+
if not isinstance(token_value, str):
|
|
163
|
+
raise DSWCommunicationError(
|
|
164
|
+
reason='Invalid response',
|
|
165
|
+
message='Server did not return a valid token'
|
|
166
|
+
)
|
|
167
|
+
self.token = token_value
|
|
162
168
|
return self.token
|
|
163
169
|
|
|
164
170
|
@handle_client_errors
|
dsw/tdk/build_info.py
CHANGED
|
@@ -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.21.1~4620e19',
|
|
13
|
+
built_at='2025-09-05 10:22:18Z',
|
|
14
|
+
sha='4620e195be99d0e5de9df8570098d61896478328',
|
|
15
15
|
branch='HEAD',
|
|
16
|
-
tag='v4.
|
|
16
|
+
tag='v4.21.1',
|
|
17
17
|
)
|
dsw/tdk/consts.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dsw-tdk
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.21.1
|
|
4
4
|
Summary: Data Stewardship Wizard Template Development Toolkit
|
|
5
5
|
Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
19
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
19
20
|
Classifier: Topic :: Utilities
|
|
20
21
|
Requires-Python: <4,>=3.10
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
dsw/tdk/__init__.py,sha256=zJeTybb0SqiNdGLkANjRa36hku4axi17mZL2dM3tHto,288
|
|
2
2
|
dsw/tdk/__main__.py,sha256=cCzxo6f7raF50kQE-nM_segNjCNe723ZrxOBB6f3qwc,84
|
|
3
|
-
dsw/tdk/api_client.py,sha256=
|
|
4
|
-
dsw/tdk/build_info.py,sha256=
|
|
3
|
+
dsw/tdk/api_client.py,sha256=dQGEYflfzTFtEMWKC2mNbdz6-rS8MwlCzyOpCg2oXrU,14966
|
|
4
|
+
dsw/tdk/build_info.py,sha256=rWoKb1UhoKCUQADIdtIzFhxLDk4iLI-8XWMyZ08DD5w,381
|
|
5
5
|
dsw/tdk/cli.py,sha256=uz3nLv8gUZQqKvarc_STMlpgkGylhAprBFRMcJphc2Q,21965
|
|
6
|
-
dsw/tdk/consts.py,sha256=
|
|
6
|
+
dsw/tdk/consts.py,sha256=1-p9lYFYQcrO8kRCGuiD6uVPTBkWfWxT-rlNJz2OUOc,604
|
|
7
7
|
dsw/tdk/core.py,sha256=qnYSMaoN2j4Jt16yywfG-Z_SE27eGLzTCvf-SzMdB8A,27329
|
|
8
8
|
dsw/tdk/model.py,sha256=MKTFmfSYc41GZc-XgyVQR8gzWGAfE1afjNQP8eVY7DM,17244
|
|
9
9
|
dsw/tdk/utils.py,sha256=ICZpgxkDRWg9lq1gnHyQCEISFMtmGtu8Hl5yEclwn14,5685
|
|
@@ -12,9 +12,9 @@ dsw/tdk/templates/LICENSE.j2,sha256=6WzK06169rxZ4V_boYgejcZkw-1Up_WoU18iI3Gbkfs,
|
|
|
12
12
|
dsw/tdk/templates/README.md.j2,sha256=FzUABeMM8To0oT48Kytoox64uAZ8F7FSAAXgpyKzqdU,247
|
|
13
13
|
dsw/tdk/templates/env.j2,sha256=7IJ6HAIY1bXKLake4c72DSEUcQtAquO5wlSgH8vg_8s,97
|
|
14
14
|
dsw/tdk/templates/starter.j2,sha256=JKJIkiXsmBO4P6pKXM4IvSz3JgJhqCnaZI1NVfPPnXg,246
|
|
15
|
-
dsw_tdk-4.
|
|
16
|
-
dsw_tdk-4.
|
|
17
|
-
dsw_tdk-4.
|
|
18
|
-
dsw_tdk-4.
|
|
19
|
-
dsw_tdk-4.
|
|
20
|
-
dsw_tdk-4.
|
|
15
|
+
dsw_tdk-4.21.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
16
|
+
dsw_tdk-4.21.1.dist-info/METADATA,sha256=C5yD7UZJukqoFzRfy32JefIngXxphEzKBgsSyIhIVCo,6095
|
|
17
|
+
dsw_tdk-4.21.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
18
|
+
dsw_tdk-4.21.1.dist-info/entry_points.txt,sha256=lwD5ZzRCbTFSjP1-SkhYsaJe8sEXOWWgMAMUhw0v2Hk,41
|
|
19
|
+
dsw_tdk-4.21.1.dist-info/top_level.txt,sha256=7SfbsHFoJ_vlAgG6C-xzETETwYO71dBrGnod8uMFnjw,4
|
|
20
|
+
dsw_tdk-4.21.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|