mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(pre-commit): Add pyupgrade and pycln hooks (#24197)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from typing import Any, Dict, TYPE_CHECKING
|
||||
from typing import Any, TYPE_CHECKING
|
||||
|
||||
import simplejson as json
|
||||
|
||||
@@ -36,7 +36,7 @@ if TYPE_CHECKING:
|
||||
class ExecutionContextConvertor:
|
||||
_max_row_in_display_configuration: int # pylint: disable=invalid-name
|
||||
_exc_status: SqlJsonExecutionStatus
|
||||
payload: Dict[str, Any]
|
||||
payload: dict[str, Any]
|
||||
|
||||
def set_max_row_in_display(self, value: int) -> None:
|
||||
self._max_row_in_display_configuration = value # pylint: disable=invalid-name
|
||||
|
||||
Reference in New Issue
Block a user