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.22.0.tar.gz
(26.7 kB
view details)
Built Distribution
File details
Details for the file celery_types-0.22.0.tar.gz
.
File metadata
- Download URL: celery_types-0.22.0.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ecad2fa5a6eded0a1f919e5e1e381cc2ff0635fe4b21db53b4661b6876d5b30 |
|
MD5 | 6f63dae65e85588eadc1f7a6b7fd0fcc |
|
BLAKE2b-256 | 570af7d6089e39b43528d74f99f3f58b9900fe76894e8208ec4f22ffa71e4a73 |
File details
Details for the file celery_types-0.22.0-py3-none-any.whl
.
File metadata
- Download URL: celery_types-0.22.0-py3-none-any.whl
- Upload date:
- Size: 41.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a66637d1d6af5992d1dc80259d9538869941325e966006f1e795220519b9ac |
|
MD5 | 36086aee958cff31f6a38e43f53b75f0 |
|
BLAKE2b-256 | b4fcab9ed137f6a7a54746cb27410e475f6b375dbb9e20f8c2d3317186d0a63e |