Skip to content

Commit

Permalink
Remove type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjj committed Dec 10, 2023
1 parent 21189ac commit a942128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hello/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def create_celery_app(app=None):
app = app or create_app()

class FlaskTask(Task):
def __call__(self, *args: object, **kwargs: object) -> object:
def __call__(self, *args, **kwargs):
with app.app_context():
return self.run(*args, **kwargs)

Expand Down

0 comments on commit a942128

Please sign in to comment.