Proper way to specify type of Flask current_app.response_class in function signature Proper way to specify type of Flask current_app.response_class in function signature flask flask