Skip to content

Commit

Permalink
Explicitly export OneOfSchema for mypy
Browse files Browse the repository at this point in the history
This fixes the following mypy error:

> Module "marshmallow_oneofschema" does not explicitly export attribute
> "OneOfSchema"
  • Loading branch information
Frazer McLean committed Feb 15, 2024
1 parent f75514f commit 45188de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/marshmallow_oneofschema/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .one_of_schema import OneOfSchema # noqa

__all__ = ("OneOfSchema",)

0 comments on commit 45188de

Please sign in to comment.