Inspectopedia 2026.2 Help

Celery task class or function is not registered

Reports an unregistered task in Celery Beat Schedule

Example:

#settings.py CELERY_BEAT_SCHEDULE = { 'task_name': { 'task': 'example_app.tasks.task_name', # path to a task represented by a class or function 'schedule': 3.0, }, } #example_app/tasks.py @app.task() def taskName(): pass class TaskName(Task): pass

If a task class doesn't Task in inheritance or task function doesn't have the necessary decorators, it wouldn't be considered as registered

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

BeatScheduleCeleryTaskInspection
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Celery

Inspection ID: BeatScheduleCeleryTaskInspection

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection BeatScheduleCeleryTaskInspection

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Inspection Details

By default bundled with:

PyCharm 2026.2,

Can be installed with plugin:

Python, 262.8679.0

Last modified: 30 June 2026