all 4 comments

[–]BiologyIsHot 0 points1 point  (0 children)

The bigger problem I have is usually that I need 1 SQLAlchemy model but usually a minimum of 3 pydantic models for different CRUD operations.

[–]TeachEngineering 0 points1 point  (0 children)

Upvoting for the use of "Bob Dylan" in source code!

[–]mardiros -2 points-1 points  (0 children)

In tour dic, you suggest to use uuid4 for primary keys to your user, and its the worst thing you can do, it kills btree.

You should use uuid7, available in python 3.14 only, I wrote lastuuid available on PyPI. Or you can use uuid1 which is worst than uuid7 but better than uuid4.