bito-code-review[bot] commented on PR #42086:
URL: https://github.com/apache/superset/pull/42086#issuecomment-4983029007
<!-- Bito Reply -->
The flagged issue is correct. To resolve this, you should add an explicit
type annotation to the `adapter` variable. Since `current_app.url_map.bind("")`
returns a `MapAdapter`, you can import `werkzeug.routing.MapAdapter` and
annotate the variable accordingly.
There are no other comments on this PR to address.
**tests/integration_tests/views/test_explore_redirect.py**
```
from werkzeug.routing import MapAdapter
# ...
adapter: MapAdapter = current_app.url_map.bind("")
```
--
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]