mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -18,18 +18,18 @@ from marshmallow import fields, Schema
|
||||
|
||||
|
||||
class DashboardPermalinkStateSchema(Schema):
|
||||
dataMask = fields.Dict(
|
||||
dataMask = fields.Dict( # noqa: N815
|
||||
required=False,
|
||||
allow_none=True,
|
||||
metadata={"description": "Data mask used for native filter state"},
|
||||
)
|
||||
activeTabs = fields.List(
|
||||
activeTabs = fields.List( # noqa: N815
|
||||
fields.String(),
|
||||
required=False,
|
||||
allow_none=True,
|
||||
metadata={"description": "Current active dashboard tabs"},
|
||||
)
|
||||
urlParams = fields.List(
|
||||
urlParams = fields.List( # noqa: N815
|
||||
fields.Tuple(
|
||||
(
|
||||
fields.String(
|
||||
@@ -55,7 +55,7 @@ class DashboardPermalinkStateSchema(Schema):
|
||||
|
||||
|
||||
class DashboardPermalinkSchema(Schema):
|
||||
dashboardId = fields.String(
|
||||
dashboardId = fields.String( # noqa: N815
|
||||
required=True,
|
||||
allow_none=False,
|
||||
metadata={"description": "The id or slug of the dashboard"},
|
||||
|
||||
Reference in New Issue
Block a user