python3-commons 0.9.13__py3-none-any.whl → 0.9.15__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.
- python3_commons/api_client.py +1 -1
- python3_commons/helpers.py +2 -6
- {python3_commons-0.9.13.dist-info → python3_commons-0.9.15.dist-info}/METADATA +1 -1
- {python3_commons-0.9.13.dist-info → python3_commons-0.9.15.dist-info}/RECORD +8 -8
- {python3_commons-0.9.13.dist-info → python3_commons-0.9.15.dist-info}/WHEEL +0 -0
- {python3_commons-0.9.13.dist-info → python3_commons-0.9.15.dist-info}/licenses/AUTHORS.rst +0 -0
- {python3_commons-0.9.13.dist-info → python3_commons-0.9.15.dist-info}/licenses/LICENSE +0 -0
- {python3_commons-0.9.13.dist-info → python3_commons-0.9.15.dist-info}/top_level.txt +0 -0
python3_commons/api_client.py
CHANGED
python3_commons/helpers.py
CHANGED
@@ -8,7 +8,7 @@ from abc import ABCMeta
|
|
8
8
|
from collections import defaultdict
|
9
9
|
from datetime import date, datetime, timedelta
|
10
10
|
from decimal import ROUND_HALF_UP, Decimal
|
11
|
-
from http.cookies import BaseCookie
|
11
|
+
from http.cookies import BaseCookie
|
12
12
|
from json import dumps
|
13
13
|
from typing import Literal, Mapping, Sequence
|
14
14
|
from urllib.parse import urlencode
|
@@ -103,11 +103,7 @@ def request_to_curl(
|
|
103
103
|
curl_cmd.append(shlex.quote(header_line))
|
104
104
|
|
105
105
|
if cookies:
|
106
|
-
|
107
|
-
cookie_str = '; '.join(f'{morsel.key}={morsel.value}' for morsel in cookies.values())
|
108
|
-
else:
|
109
|
-
cookie_str = '; '.join(f'{k}={v}' for k, v in cookies.items())
|
110
|
-
|
106
|
+
cookie_str = '; '.join(f'{k}={v.value}' for k, v in cookies.items())
|
111
107
|
curl_cmd.extend(['-b', shlex.quote(cookie_str)])
|
112
108
|
|
113
109
|
if json:
|
@@ -1,11 +1,11 @@
|
|
1
1
|
python3_commons/__init__.py,sha256=0KgaYU46H_IMKn-BuasoRN3C4Hi45KlkHHoPbU9cwiA,189
|
2
|
-
python3_commons/api_client.py,sha256=
|
2
|
+
python3_commons/api_client.py,sha256=vIWt6QIbHw_x-1yKhXyJEN3Aj22KMsZwJXMsdWR7oaQ,4970
|
3
3
|
python3_commons/audit.py,sha256=p4KRKt0ogkHhJSulg6j5GU-JKBBE903H2c0nuW16GtM,6083
|
4
4
|
python3_commons/auth.py,sha256=fINE7zeq-oaEk2lwkdP1KOhfCpcIBaC8P9UzXQI37J0,2922
|
5
5
|
python3_commons/cache.py,sha256=lf27LTD4Z9Iqi5GaK8jH8UC0cL9sHH8wicZ88YDp6Mg,7725
|
6
6
|
python3_commons/conf.py,sha256=DYFA2_n7W40MBbpaNWv4iTWh7-GPsGU6Ilygz32tHhs,2397
|
7
7
|
python3_commons/fs.py,sha256=wfLjybXndwLqNlOxTpm_HRJnuTcC4wbrHEOaEeCo9Wc,337
|
8
|
-
python3_commons/helpers.py,sha256=
|
8
|
+
python3_commons/helpers.py,sha256=9m9Q_ImXzOsKmt7ObLUhd11vnGfwUH_KO4IwLaTMrFA,3930
|
9
9
|
python3_commons/object_storage.py,sha256=4-nWfcYF9Uj6bx3aVM6a4P5Ac2fFCTEaDfejDzn63Qk,6441
|
10
10
|
python3_commons/permissions.py,sha256=bhjTp-tq-oaTGFMHNnSBlcVX5XQCTL0nWcu6SdPEAB4,1555
|
11
11
|
python3_commons/db/__init__.py,sha256=5nArsGm17e-pelpOwAeBKy2n_Py20XqklZsNgkcJ-DQ,2947
|
@@ -21,9 +21,9 @@ python3_commons/serializers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
21
21
|
python3_commons/serializers/json.py,sha256=91UaXLGKGj0yPyrnuMeNrkG2GuPUgcgAsmIokUgEwpU,808
|
22
22
|
python3_commons/serializers/msgpack.py,sha256=WrvaPE187shSK8zkH4UHHMimEZNMv9RaDSwsBE2HlCw,1269
|
23
23
|
python3_commons/serializers/msgspec.py,sha256=0AliXlEl5sewi0UENjI8St5ZScXE5DNRERKzqWKy2Ps,2674
|
24
|
-
python3_commons-0.9.
|
25
|
-
python3_commons-0.9.
|
26
|
-
python3_commons-0.9.
|
27
|
-
python3_commons-0.9.
|
28
|
-
python3_commons-0.9.
|
29
|
-
python3_commons-0.9.
|
24
|
+
python3_commons-0.9.15.dist-info/licenses/AUTHORS.rst,sha256=3R9JnfjfjH5RoPWOeqKFJgxVShSSfzQPIrEr1nxIo9Q,90
|
25
|
+
python3_commons-0.9.15.dist-info/licenses/LICENSE,sha256=xxILuojHm4fKQOrMHPSslbyy6WuKAN2RiG74HbrYfzM,34575
|
26
|
+
python3_commons-0.9.15.dist-info/METADATA,sha256=I_AM8xoyUMhTDx7KDRFf9yvkUqhIgMQhEvrsQipTdnQ,1134
|
27
|
+
python3_commons-0.9.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
28
|
+
python3_commons-0.9.15.dist-info/top_level.txt,sha256=lJI6sCBf68eUHzupCnn2dzG10lH3jJKTWM_hrN1cQ7M,16
|
29
|
+
python3_commons-0.9.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|