bito-code-review[bot] commented on PR #41960:
URL: https://github.com/apache/superset/pull/41960#issuecomment-4948243330
<!-- Bito Reply -->
The flagged issue is correct. The variable `applied_filter` is defined as a
dictionary literal without an explicit type annotation, which violates the
project's standard for annotating new variables.
To resolve this, you can add the type annotation `dict[str, str]` to the
variable definition. Here is the corrected code snippet:
```python
applied_filter: dict[str, str] = {"col": "region", "op": "==", "val":
"USA"}
query_obj = QueryObject(
```
There are no other comments on this pull request to address. Would you like
me to proceed with any other tasks?
**tests/unit_tests/common/test_query_actions_currency.py**
```
applied_filter: dict[str, str] = {"col": "region", "op": "==", "val": "USA"}
query_obj = QueryObject(
```
--
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]