celery-types icon indicating copy to clipboard operation
celery-types copied to clipboard

:seedling: Type stubs for Celery and its related packages

Results 22 celery-types issues
Sort by recently updated
recently updated
newest added

Right now, there are no stubs for `celery.app.log.TaskFormatter`, which raises a `mypy` error

bug

Hi there. I'm working with a repository where we've overridden the default task class and added some methods, and we're using `task_cls` to initialize Celery with this as the default...

Updating from 0.15 to 0.18 (via a bandit bump to 1.7.5) seems to have broken mypy's ability to distinguish task parameters correctly. In lieu of rolling back my celery-types version...

Updating from 0.15 to 0.18 (via a bandit bump to 1.7.5) seems to have broken mypy's ability to distinguish task parameters correctly. In lieu of rolling back my celery-types version...

Hi! Thanks for creating celery-types. Since 0.17.0, the following type seems to be wrongly identified. The code below shows a working example. I'm guessing that `inspect.active()` just returns a dict....

bug

I noticed that `canvas.group` is using `self.tasks` a bit everywhere, but it's never declared in any `__init__` (I might have missed it though). And the stubs don't declare it either....

Hi, It would be great with some examples for both server and client side code (client with no access to server implementation, i.e. defined via `celery.signature`). Currently I'm doing something...

Celery 5.4 introduced some shortcuts for Django projects using a custom task class. This new DjangoTask base class adds the following methods: * delay_on_commit * apply_async_on_commit https://docs.celeryq.dev/en/stable/django/first-steps-with-django.html#trigger-tasks-at-the-end-of-the-database-transaction Not sure what's...

bug

Hello, Thanks for this collection of type stubs! I've been using it in a project, and recently i've had to use kombu JSON serializers, and mypy is reporting `error: Module...

bug