Type stubs for Celery and its related packages
Project description
celery-types ![PyPI](https://pypi-camo.freetls.fastly.net/bcb20d3a9401077632e821170b5da78836176edd/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f63656c6572792d74797065732e737667)
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.17.0.tar.gz
(23.4 kB
view hashes)
Built Distribution
Close
Hashes for celery_types-0.17.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c130770514e68069363ca3b27759bb9d34bd7e99fcfa7ad2469588f9f55478b4 |
|
MD5 | 3b9063a88c7c44a20de70c7c26c8b411 |
|
BLAKE2b-256 | 3637641db1b87dd2c1ae6a51bac3cb0d2083df3925a30137a969d7b3eb1f929e |