mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(pre-commit): Add pyupgrade and pycln hooks (#24197)
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
import json
|
||||
import textwrap
|
||||
from typing import List
|
||||
|
||||
from sqlalchemy import inspect
|
||||
|
||||
@@ -40,7 +39,7 @@ from .helpers import (
|
||||
DASH_SLUG = "supported_charts_dash"
|
||||
|
||||
|
||||
def create_slices(tbl: SqlaTable) -> List[Slice]:
|
||||
def create_slices(tbl: SqlaTable) -> list[Slice]:
|
||||
slice_kwargs = {
|
||||
"datasource_id": tbl.id,
|
||||
"datasource_type": DatasourceType.TABLE,
|
||||
|
||||
Reference in New Issue
Block a user