diff --git a/tortoise/contrib/pydantic/__init__.py b/tortoise/contrib/pydantic/__init__.py index c77d958cb..1257c2eb7 100644 --- a/tortoise/contrib/pydantic/__init__.py +++ b/tortoise/contrib/pydantic/__init__.py @@ -1,4 +1,12 @@ -from tortoise.contrib.pydantic.base import PydanticListModel # noqa -from tortoise.contrib.pydantic.base import PydanticModel # noqa -from tortoise.contrib.pydantic.creator import pydantic_model_creator # noqa -from tortoise.contrib.pydantic.creator import pydantic_queryset_creator # noqa +from tortoise.contrib.pydantic.base import PydanticListModel, PydanticModel +from tortoise.contrib.pydantic.creator import ( + pydantic_model_creator, + pydantic_queryset_creator, +) + +__all__ = ( + "PydanticListModel", + "PydanticModel", + "pydantic_model_creator", + "pydantic_queryset_creator", +)