Thanks to ( ) ! 0.10.2 ()Īdd proper typing for functions wrapped with the decorator. info ( 'Foobar try %s ', ctx )Ĭtx contains: job_id, job_try, enqueue_time, score, metadata + all worker’s ctx (including custom context which can be passed via on_startup). Remove aioredis from dependencies to allow choose between aioredis and evo-aioredis - fork with Python 3.11 compatabilityĪdded ability to optionally pass ctx to the task, like ( with_ctx = True ) def foobar ( ctx ): log.
0 Comments
Leave a Reply. |