async-task-worker 0.3.1__tar.gz → 0.3.2__tar.gz
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.
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/PKG-INFO +1 -1
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/pyproject.toml +1 -1
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/core.py +9 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/uv.lock +1 -1
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/.gitignore +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/CLAUDE.md +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/LICENSE +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/README.md +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/__init__.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/adapters/__init__.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/adapters/memory.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/adapters/redis.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/core.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/exceptions.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/key_utils.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_cache/serialization.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/__init__.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/adapters/__init__.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/adapters/cache_adapter.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/api.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/exceptions.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/executor.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/futures.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/pool.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/queue.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/registry.py +0 -0
- {async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/status.py +0 -0
|
@@ -303,6 +303,15 @@ class AsyncTaskWorker:
|
|
|
303
303
|
"""
|
|
304
304
|
async with self.tasks_lock:
|
|
305
305
|
return self.tasks.get(task_id)
|
|
306
|
+
|
|
307
|
+
def get_cache(self) -> AsyncCacheAdapter:
|
|
308
|
+
"""
|
|
309
|
+
Get the cache adapter instance.
|
|
310
|
+
|
|
311
|
+
Returns:
|
|
312
|
+
The cache adapter instance
|
|
313
|
+
"""
|
|
314
|
+
return self.cache
|
|
306
315
|
|
|
307
316
|
async def get_all_tasks(
|
|
308
317
|
self,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/adapters/__init__.py
RENAMED
|
File without changes
|
{async_task_worker-0.3.1 → async_task_worker-0.3.2}/src/async_task_worker/adapters/cache_adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|