Skip to content

Commit

Permalink
Add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Apr 3, 2024
1 parent cf87d16 commit eddf35f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/celery/tasks/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# In order for Celery to recognize the tasks in this directory, we need to import them here.
from core.celery.tasks.inventory_reports import generate_inventory_reports_task
1 change: 1 addition & 0 deletions core/celery/worker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# We need this line to make sure all our tasks are registered with
# the Celery app when the worker starts.

from core.celery import tasks # noqa: autoflake
from core.service.container import container_instance

Expand Down

0 comments on commit eddf35f

Please sign in to comment.