karton-core 5.5.0__py3-none-any.whl → 5.5.1__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.
- karton/core/__version__.py +1 -1
- karton/core/task.py +6 -1
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/METADATA +1 -1
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/RECORD +10 -10
- /karton_core-5.5.0-nspkg.pth → /karton_core-5.5.1-nspkg.pth +0 -0
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/LICENSE +0 -0
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/WHEEL +0 -0
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/entry_points.txt +0 -0
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/namespace_packages.txt +0 -0
- {karton_core-5.5.0.dist-info → karton_core-5.5.1.dist-info}/top_level.txt +0 -0
karton/core/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "5.5.
|
1
|
+
__version__ = "5.5.1"
|
karton/core/task.py
CHANGED
@@ -408,7 +408,12 @@ class Task(object):
|
|
408
408
|
if parse_resources:
|
409
409
|
task_data = json.loads(data, object_hook=unserialize_resources)
|
410
410
|
else:
|
411
|
-
|
411
|
+
try:
|
412
|
+
task_data = orjson.loads(data)
|
413
|
+
except orjson.JSONDecodeError:
|
414
|
+
# Fallback, in case orjson raises exception during loading
|
415
|
+
# This may happen for large numbers (too large for float)
|
416
|
+
task_data = json.loads(data, object_hook=unserialize_resources)
|
412
417
|
|
413
418
|
# Compatibility with Karton <5.2.0
|
414
419
|
headers_persistent_fallback = task_data["payload_persistent"].get(
|
@@ -1,6 +1,6 @@
|
|
1
|
-
karton_core-5.5.
|
1
|
+
karton_core-5.5.1-nspkg.pth,sha256=vHa-jm6pBTeInFrmnsHMg9AOeD88czzQy-6QCFbpRcM,539
|
2
2
|
karton/core/__init__.py,sha256=QuT0BWZyp799eY90tK3H1OD2hwuusqMJq8vQwpB3kG4,337
|
3
|
-
karton/core/__version__.py,sha256=
|
3
|
+
karton/core/__version__.py,sha256=o0RHk7avNRUho2u_PgLKAFJKJks95Wx54GlOzI6Jzq4,22
|
4
4
|
karton/core/backend.py,sha256=-sQG7utnaWLJOEcafeSwEDLnkflPqtSCwg_mn_nnFhg,36727
|
5
5
|
karton/core/base.py,sha256=C6Lco3E0XCsxvEjeVOLR9fxh_IWJ1vjC9BqUYsQyewE,8083
|
6
6
|
karton/core/config.py,sha256=7oKchitq6pWzPuXRfjBXqVT_BgGIz2p-CDo1RGaNJQg,8118
|
@@ -12,16 +12,16 @@ karton/core/main.py,sha256=ir1-dhn3vbwfh2YHiM6ZYfRBbjwLvJSz0d8tuK1mb_4,8310
|
|
12
12
|
karton/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
karton/core/query.py,sha256=Ay0VzfrBQwdJzcZ27JbOlUc1ZZdOl6A8sh4iIYTmLyE,11493
|
14
14
|
karton/core/resource.py,sha256=tA3y_38H9HVKIrCeAU70zHUkQUv0BuCQWMC470JLxxc,20321
|
15
|
-
karton/core/task.py,sha256=
|
15
|
+
karton/core/task.py,sha256=gW1szMi5PN2Y06X-Ryo7cmEVluZv1r7W5tvmwIJiD94,18808
|
16
16
|
karton/core/test.py,sha256=tms-YM7sUKQDHN0vm2_W7DIvHnO_ld_VPsWHnsbKSfk,9102
|
17
17
|
karton/core/utils.py,sha256=sEVqGdVPyYswWuVn8wYXBQmln8Az826N_2HgC__pmW8,4090
|
18
18
|
karton/system/__init__.py,sha256=JF51OqRU_Y4c0unOulvmv1KzSHSq4ZpXU8ZsH4nefRM,63
|
19
19
|
karton/system/__main__.py,sha256=QJkwIlSwaPRdzwKlNmCAL41HtDAa73db9MZKWmOfxGM,56
|
20
20
|
karton/system/system.py,sha256=tptar24RuXUnlII1xKbuJtfNkQsSxTtS3g4O8S99tbg,14011
|
21
|
-
karton_core-5.5.
|
22
|
-
karton_core-5.5.
|
23
|
-
karton_core-5.5.
|
24
|
-
karton_core-5.5.
|
25
|
-
karton_core-5.5.
|
26
|
-
karton_core-5.5.
|
27
|
-
karton_core-5.5.
|
21
|
+
karton_core-5.5.1.dist-info/LICENSE,sha256=o8h7hYhn7BJC_-DmrfqWwLjaR_Gbe0TZOOQJuN2ca3I,1519
|
22
|
+
karton_core-5.5.1.dist-info/METADATA,sha256=trLfddTECFmbcuReIoSF9Yb9ug1BSAxHBUAM0nNoXnE,6847
|
23
|
+
karton_core-5.5.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
24
|
+
karton_core-5.5.1.dist-info/entry_points.txt,sha256=FJj5EZuvFP0LkagjX_dLbRGBUnuLjgBiSyiFfq4c86U,99
|
25
|
+
karton_core-5.5.1.dist-info/namespace_packages.txt,sha256=X8SslCPsqXDCnGZqrYYolzT3xPzJMq1r-ZQSc0jfAEA,7
|
26
|
+
karton_core-5.5.1.dist-info/top_level.txt,sha256=X8SslCPsqXDCnGZqrYYolzT3xPzJMq1r-ZQSc0jfAEA,7
|
27
|
+
karton_core-5.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|