No video
A Peek Inside SQLModel from FastAPI using PyCharm
Sebastián Ramírez @tiangolo from FastAPI and Typer fame released yesterday a new package called SQLModel:
"SQLModel is a library for interacting with SQL databases from Python code, with Python objects. It is designed to be intuitive, easy to use, highly compatible, and robust...SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy."
For those looking to both eliminate the FastAPI duplication of Pydantic+SQLA model writing, and get better tooling and thus developer experience, it looks quite interesting.
I decided to give it a spin in PyCharm to see if autocompletion works.
sqlmodel.tiang...
Пікірлер: 3
Nice video, thanks Paul, super exciting project, will use it today :)
Great library. I just wish Tiangolo had also uploaded a sample codebase. But I suppose copying & pasting sample code works, too. That's what I've been doing.
hi, do u know how to make enums with sqlmodel?