mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ class ExternalMetadataSchema(Schema):
|
||||
schema_name = fields.Str(allow_none=True)
|
||||
table_name = fields.Str(required=True)
|
||||
|
||||
# pylint: disable=no-self-use,unused-argument
|
||||
# pylint: disable=unused-argument
|
||||
@post_load
|
||||
def normalize(
|
||||
self,
|
||||
@@ -75,7 +75,7 @@ class SamplesPayloadSchema(Schema):
|
||||
)
|
||||
|
||||
@pre_load
|
||||
# pylint: disable=no-self-use, unused-argument
|
||||
# pylint: disable=unused-argument
|
||||
def handle_none(self, data: dict[str, Any], **kwargs: Any) -> dict[str, Any]:
|
||||
if data is None:
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user