Background Tasks in Blueprints #263
Answered
by
davidism
butchewing
asked this question in
Q&A
-
Is it possible to instantiate a Background Task in a Blueprint route?
This raises the following Error: 'Blueprint' object has no attribute 'add_background_task' |
Beta Was this translation helpful? Give feedback.
Answered by
davidism
Aug 17, 2023
Replies: 1 comment
-
It's not specific to a blueprint. Import
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
butchewing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not specific to a blueprint. Import
current_app
and use that.