We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01a016 commit 26fc936Copy full SHA for 26fc936
dash/development/base_component.py
@@ -118,13 +118,13 @@ class Component(metaclass=ComponentMeta):
118
available_wildcard_properties: typing.List[str]
119
120
@classmethod
121
- def __get_pydantic_core_schema__(cls, source_type, handler):
122
- from pydantic_core import core_schema
+ def __get_pydantic_core_schema__(cls, _source_type, _handler):
+ from pydantic_core import core_schema # pylint: disable=import-outside-toplevel
123
124
return core_schema.any_schema()
125
126
127
- def __get_pydantic_json_schema__(cls, schema, handler):
+ def __get_pydantic_json_schema__(cls, _schema, _handler):
128
namespaces = list(ComponentRegistry.namespace_to_package.keys())
129
return {
130
"type": "object",
0 commit comments