dpgaspar commented on code in PR #23965:
URL: https://github.com/apache/superset/pull/23965#discussion_r1191336274
##########
tests/integration_tests/async_events/api_tests.py:
##########
@@ -33,6 +33,7 @@ def fetch_events(self, last_id: Optional[str] = None):
@mock.patch("uuid.uuid4", return_value=UUID)
def test_events(self, mock_uuid4):
+ app._got_first_request = False
Review Comment:
a bit of an hack, `async_query_manager.init_app(app)` registers a Flask
`app.before_request`. New Flask will only allow registering before request
hooks if not request was yet processed by the app.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]