You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
task is not found. Maybe you forgot to import it? #131
I guess there are some problems with imports. Can you please check how you import yout broker from broker.py?
If you import it as from broker import broker then it should be fine. But I guess, that you import it as from taskiq_folder.broker import broker.
Taskiq tries to import your broker and fails, since there's no taskiq_folder in PYTHON_PATH available.
To make sure, that this theory is correct, please show your logs, there should be an Import error printed in logs. Since we log all unsuccessful imports.
Activity
s3rius commentedon May 13, 2023
I guess there are some problems with imports. Can you please check how you import yout broker from
broker.py?If you import it as
from broker import brokerthen it should be fine. But I guess, that you import it asfrom taskiq_folder.broker import broker.Taskiq tries to import your broker and fails, since there's no taskiq_folder in PYTHON_PATH available.
To make sure, that this theory is correct, please show your logs, there should be an Import error printed in logs. Since we log all unsuccessful imports.
s3rius commentedon Jun 9, 2023
Closed due to inactivity.