diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-04-15 15:28:29 +0300 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-15 07:24:55 -0700 |
| commit | 24ea449e3aebd5be73ffbe5b91c71066706fcc44 (patch) | |
| tree | 0e7856ff38f9e92c1ffaa2f0e730b6414f70d1c3 /meta-python/recipes-devtools/python/python3-markupsafe | |
| parent | 3f7567229cb470281feee83e8a5fcc6205175659 (diff) | |
| download | meta-openembedded-24ea449e3aebd5be73ffbe5b91c71066706fcc44.tar.gz | |
python3-huey: Upgrade 2.6.0 -> 3.0.0
Upgrade to release 3.0.0:
- Add chord() (map -> reduce) and group() (map) primitives.
- Add timeout (using SIGALRM for process and gevent.Timeout for
greenlet) to control task running time. For threads, unfortunately,
there's no good mechanism so instead APIs for cooperatively
checking timeout are provided on the Task instance.
- Add simple fixed-window rate_limit() for tasks.
- Add Result.is_ready() method for checking result readiness.
- New option for low-latency result fetching, available for RedisHuey.
To use, pass notify_result=True when initializing your Huey instance.
- Add new incr(key, amount=1) to storage API for atomic increment
primitive. This is used by chord().
- Add new wait_result() method to storage APIs for efficiently waiting
for a result to become ready. The default implementation uses the
exponential backoff from the previous implementation of a blocking
Result.get() - so no changes are needed. However if you have a custom
storage implementation, this provides a mechanism for pub/sub or
other notification of result readiness.
- Remove Python 2.x compatibility.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-markupsafe')
0 files changed, 0 insertions, 0 deletions
