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.15.0.tar.gz
(23.0 kB
view hashes)
Built Distribution
Close
Hashes for celery_types-0.15.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bcdd44614248cca1ac962017cf76392e16a86e2f9a0404e683063fe4e6a10b1 |
|
MD5 | a240fc62199725a2b7c967e4f86ac951 |
|
BLAKE2b-256 | f4d04a86b6b78af73dee277bd209d48b233238e2f1d8354c40da727bbda4c7fd |