marshmallow-oneofschema
marshmallow-oneofschema copied to clipboard
Explicitly export OneOfSchema for mypy
This fixes the following mypy error:
Module "marshmallow_oneofschema" does not explicitly export attribute "OneOfSchema"
The alternative way to make mypy happy is to do the following, which I can change if you prefer it over __all__
.
-from .one_of_schema import OneOfSchema # noqa
+from .one_of_schema import OneOfSchema as OneOfSchema # noqa