Nice!
Last year, i did a very similar thing..
Recently, I found this [1] library by Tiangolo (the same guy who developed Fastapi) which addresses exactly the biggest problem i had w that setup.. That is, the code duplication between the Pydantic and Sqlalchemy schemas
Just FYI!