pydocket 0.3.1__py3-none-any.whl → 0.3.2__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.
Potentially problematic release.
This version of pydocket might be problematic. Click here for more details.
- docket/worker.py +3 -0
- {pydocket-0.3.1.dist-info → pydocket-0.3.2.dist-info}/METADATA +1 -1
- {pydocket-0.3.1.dist-info → pydocket-0.3.2.dist-info}/RECORD +6 -6
- {pydocket-0.3.1.dist-info → pydocket-0.3.2.dist-info}/WHEEL +0 -0
- {pydocket-0.3.1.dist-info → pydocket-0.3.2.dist-info}/entry_points.txt +0 -0
- {pydocket-0.3.1.dist-info → pydocket-0.3.2.dist-info}/licenses/LICENSE +0 -0
docket/worker.py
CHANGED
|
@@ -291,6 +291,9 @@ class Worker:
|
|
|
291
291
|
def start_task(
|
|
292
292
|
message_id: RedisMessageID, message: RedisMessage
|
|
293
293
|
) -> None:
|
|
294
|
+
if not message: # pragma: no cover
|
|
295
|
+
return
|
|
296
|
+
|
|
294
297
|
task = asyncio.create_task(self._execute(message))
|
|
295
298
|
active_tasks[task] = message_id
|
|
296
299
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pydocket
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: A distributed background task system for Python functions
|
|
5
5
|
Project-URL: Homepage, https://github.com/chrisguidry/docket
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/chrisguidry/docket/issues
|
|
@@ -8,9 +8,9 @@ docket/execution.py,sha256=PDrlAr8VzmB6JvqKO71YhXUcTcGQW7eyXrSKiTcAexE,12508
|
|
|
8
8
|
docket/instrumentation.py,sha256=bZlGA02JoJcY0J1WGm5_qXDfY0AXKr0ZLAYu67wkeKY,4611
|
|
9
9
|
docket/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
docket/tasks.py,sha256=RIlSM2omh-YDwVnCz6M5MtmK8T_m_s1w2OlRRxDUs6A,1437
|
|
11
|
-
docket/worker.py,sha256=
|
|
12
|
-
pydocket-0.3.
|
|
13
|
-
pydocket-0.3.
|
|
14
|
-
pydocket-0.3.
|
|
15
|
-
pydocket-0.3.
|
|
16
|
-
pydocket-0.3.
|
|
11
|
+
docket/worker.py,sha256=MO-j5NQWvhlZh0vCVeUCwLas3i6AVsY672MYgyoU620,21882
|
|
12
|
+
pydocket-0.3.2.dist-info/METADATA,sha256=F0cKpadZ6gQ-mJYXde7XTogoy_uaaTpprpJ5uum9z-w,13092
|
|
13
|
+
pydocket-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
pydocket-0.3.2.dist-info/entry_points.txt,sha256=4WOk1nUlBsUT5O3RyMci2ImuC5XFswuopElYcLHtD5k,47
|
|
15
|
+
pydocket-0.3.2.dist-info/licenses/LICENSE,sha256=YuVWU_ZXO0K_k2FG8xWKe5RGxV24AhJKTvQmKfqXuyk,1087
|
|
16
|
+
pydocket-0.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|