Skip to content

Accessing request object in DB_CONNECTION_MUTATOR in 4.1.0 #30982

Answered by michalc
michalc asked this question in Q&A / Help
Discussion options

You must be logged in to vote

Adding this to my superset_config.py seems to fix it:

from flask import Flask
Flask.test_request_context = contextlib.nullcontext

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michalc
Comment options

Answer selected by michalc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant