pydocket 0.1.0__py3-none-any.whl → 0.1.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/cli.py CHANGED
@@ -365,7 +365,7 @@ def restore(
365
365
  value_ = interpret_python_value(value)
366
366
  if parameter:
367
367
  function_name = f"{function or '(all tasks)'}"
368
- print(f"Striking {function_name} {parameter} {operator} {value_!r}")
368
+ print(f"Restoring {function_name} {parameter} {operator} {value_!r}")
369
369
  else:
370
370
  print(f"Restoring {function}")
371
371
 
docket/worker.py CHANGED
@@ -262,7 +262,7 @@ class Worker:
262
262
  )
263
263
 
264
264
  redeliveries: RedisMessages
265
- _, redeliveries, _ = await redis.xautoclaim(
265
+ _, redeliveries, *_ = await redis.xautoclaim(
266
266
  name=self.docket.stream_key,
267
267
  groupname=self.docket.worker_group_name,
268
268
  consumername=self.name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydocket
3
- Version: 0.1.0
3
+ Version: 0.1.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
@@ -28,7 +28,7 @@ Requires-Dist: opentelemetry-api>=1.30.0
28
28
  Requires-Dist: opentelemetry-exporter-prometheus>=0.51b0
29
29
  Requires-Dist: prometheus-client>=0.21.1
30
30
  Requires-Dist: python-json-logger>=3.2.1
31
- Requires-Dist: redis>=5.2.1
31
+ Requires-Dist: redis>=4.6
32
32
  Requires-Dist: rich>=13.9.4
33
33
  Requires-Dist: typer>=0.15.1
34
34
  Description-Content-Type: text/markdown
@@ -1,16 +1,16 @@
1
1
  docket/__init__.py,sha256=GoJYpyuO6QFeBB8GNaxGGvMMuai55Eaw_8u-o1PM3hk,743
2
2
  docket/__main__.py,sha256=Vkuh7aJ-Bl7QVpVbbkUksAd_hn05FiLmWbc-8kbhZQ4,34
3
3
  docket/annotations.py,sha256=GZwOPtPXyeIhnsLh3TQMBnXrjtTtSmF4Ratv4vjPx8U,950
4
- docket/cli.py,sha256=KMH20RWPqwTGS9cPAMnVNJEtJd4cpzItwb3gKeHqMfA,18852
4
+ docket/cli.py,sha256=6dSD94wIa0aJNigeAgPR0hXE4a6szLYAs8h5F8V0CGs,18853
5
5
  docket/dependencies.py,sha256=Vht3qKbik-HQ7jsAU5k-eig4_yuru56-ZewjBVVu4yM,4325
6
6
  docket/docket.py,sha256=4bXMwDfOXbubBY1NiVyO7k598KvTDbbPzXjnN1dVGJU,19659
7
7
  docket/execution.py,sha256=rHsQ60BbNREzcpUC_RvbGUctdLaprYp1x46sT6jTrdc,11416
8
8
  docket/instrumentation.py,sha256=USo8ptCFcwQj_YaUpJvsUHPb0QfQr50i9dF4tYgYde4,2992
9
9
  docket/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  docket/tasks.py,sha256=K1f_W1z4m9RVz1GJ1ymWY5ZaRmqHO1SebNBVENlkelU,1471
11
- docket/worker.py,sha256=LAfXK9ValwEUoAkFO-IA62zv3pvZOAzzXhFUF9zDGV0,18370
12
- pydocket-0.1.0.dist-info/METADATA,sha256=szADs0heDhEGKnmu2rf59XjjHjSYwaN_jz8yDLxie6I,13094
13
- pydocket-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- pydocket-0.1.0.dist-info/entry_points.txt,sha256=4WOk1nUlBsUT5O3RyMci2ImuC5XFswuopElYcLHtD5k,47
15
- pydocket-0.1.0.dist-info/licenses/LICENSE,sha256=YuVWU_ZXO0K_k2FG8xWKe5RGxV24AhJKTvQmKfqXuyk,1087
16
- pydocket-0.1.0.dist-info/RECORD,,
11
+ docket/worker.py,sha256=nlp4sJCI2zvAhxivl5igFbKDe3z1aOOiAEz30XelAGY,18371
12
+ pydocket-0.1.2.dist-info/METADATA,sha256=_Mpg9K1AsgbagCDZWY0DF29awyi-Ox9OMAN17bf6wKE,13092
13
+ pydocket-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ pydocket-0.1.2.dist-info/entry_points.txt,sha256=4WOk1nUlBsUT5O3RyMci2ImuC5XFswuopElYcLHtD5k,47
15
+ pydocket-0.1.2.dist-info/licenses/LICENSE,sha256=YuVWU_ZXO0K_k2FG8xWKe5RGxV24AhJKTvQmKfqXuyk,1087
16
+ pydocket-0.1.2.dist-info/RECORD,,