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 bb1b697 commit fc0a681Copy full SHA for fc0a681
pydantic_xml/mypy.py
@@ -21,9 +21,9 @@ def get_metaclass_hook(self, fullname: str) -> Optional[Callable[[ClassDefContex
21
return self._pydantic_model_metaclass_marker_callback
22
return super().get_metaclass_hook(fullname)
23
24
- def _pydantic_model_class_maker_callback(self, ctx: ClassDefContext) -> bool:
+ def _pydantic_model_class_maker_callback(self, ctx: ClassDefContext) -> None:
25
transformer = PydanticXmlModelTransformer(ctx.cls, ctx.reason, ctx.api, self.plugin_config)
26
- return transformer.transform()
+ transformer.transform()
27
28
29
class PydanticXmlModelTransformer(PydanticModelTransformer):
0 commit comments