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
initial setup
# install poetry (https://python-poetry.org/docs/)
curl -sSL https://install.python-poetry.org | python3 -
# install node
# install yarn
npm install --global yarn
# install node dependencies
yarn
regular development
poetry config virtualenvs.in-project true
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.19.0.tar.gz
(24.9 kB
view hashes)
Built Distribution
Close
Hashes for celery_types-0.19.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3b54fa115aba1798c341d01cb156d5ccbfbebdae0a57dfa9b4b6a726271d80 |
|
MD5 | 76ad6b1096d4562efa9e7410886d0c18 |
|
BLAKE2b-256 | 7a7bc91fabc3c67ce28634d079b70ec0e7a2e7469c8435e690d14bff1709432e |