Skip to content

Commit 26fc936

Browse files
committed
Fix lint error on CI
1 parent a01a016 commit 26fc936

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dash/development/base_component.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ class Component(metaclass=ComponentMeta):
118118
available_wildcard_properties: typing.List[str]
119119

120120
@classmethod
121-
def __get_pydantic_core_schema__(cls, source_type, handler):
122-
from pydantic_core import core_schema
121+
def __get_pydantic_core_schema__(cls, _source_type, _handler):
122+
from pydantic_core import core_schema # pylint: disable=import-outside-toplevel
123123

124124
return core_schema.any_schema()
125125

126126
@classmethod
127-
def __get_pydantic_json_schema__(cls, schema, handler):
127+
def __get_pydantic_json_schema__(cls, _schema, _handler):
128128
namespaces = list(ComponentRegistry.namespace_to_package.keys())
129129
return {
130130
"type": "object",

0 commit comments

Comments
 (0)