We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dbd1e8 commit 9a3c0e4Copy full SHA for 9a3c0e4
2 files changed
Makefile
@@ -1 +1,4 @@
1
-# Makefile
+.PHONY: worker
2
+
3
+worker:
4
+ poetry run taskiq worker backend.workers.broker:broker backend.workers.tasks
backend/workers/tasks/__init__.py
@@ -1 +1,12 @@
-# backend/workers/tasks/__init__.py
+from .generate_draft import generate_draft_task
+from .publish_post import publish_post_task
+# from .scheduled_post import scheduled_post_task
5
+from .vectorize_post import vectorize_published_post_task
6
7
+__all__ = [
8
+ "generate_draft_task",
9
+ "publish_post_task",
10
+ # "scheduled_post_task",
11
+ "vectorize_published_post_task",
12
+]
0 commit comments