Type stubs for Celery and its related packages
Project description
celery-types
Type stubs for celery related projects:
install
pip install celery-types
You'll also need to monkey patch Task
so generic params can be provided:
from celery.app.task import Task
Task.__class_getitem__ = classmethod(lambda cls, *args, **kwargs: cls) # type: ignore[attr-defined]
dev
poetry install
# run formatting, linting, and typechecking
s/lint
# build and publish
poetry publish --build
related
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
celery-types-0.16.0.tar.gz
(23.4 kB
view hashes)
Built Distribution
Close
Hashes for celery_types-0.16.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 885a1f535a4bdee84399091c7395d1191ed57c742a534eb3a5f71cc7fa0b2bb4 |
|
MD5 | 94ae8dedd5b8e559ba46e2d52a1d3331 |
|
BLAKE2b-256 | c9270ab5231c5dd1d68142874ce7d4ca08e857e4de29bf3d8bbf4c80f3dccb91 |