Skip to content

Commit

Permalink
misc: re-export symbols in tortoise.contrib.pydantic (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
WizzyGeek authored Jan 18, 2024
1 parent 01e83ff commit 53376c9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tortoise/contrib/pydantic/__init__.py
Original file line number Diff line number Diff line change
@@ -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",
)

0 comments on commit 53376c9

Please sign in to comment.