closeio / tasktiger

Python task queue using Redis
MIT License
1.42k stars 80 forks source link

Fix Flask-Script integration #280

Closed neob91-close closed 1 year ago

neob91-close commented 1 year ago

Importing tasktiger.flask_script blows up:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/src/tasktiger/flask_script.py", line 12, in <module>
    class TaskTigerCommand(Command):
  File "/src/tasktiger/flask_script.py", line 21, in TaskTigerCommand
    def __init__(self, tiger: TaskTiger) -> None:
NameError: name 'TaskTiger' is not defined
neob91-close commented 1 year ago

Also looks like we want to remove this entirely.

I know, but as long as it's still here, might as well not be broken. :)