tortoise-orm
tortoise-orm copied to clipboard
docs: fix import for pydantic_model_creator
Description
pylance reports there's no export from tortoise.contrib.pydantic called pydantic_model_creator
Motivation and Context
How Has This Been Tested?
Checklist:
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added the changelog accordingly.
- [ ] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
But which imported in __init__.py
It might make more sense to list those in __all__ inside __init__.py explicitly. That should get rid of this error without changing any end-user code.