You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question about best practices for Piccolo tables to API schemas #319
Activity
dantownsend commentedon Jan 15, 2026
Assuming you're using Pydantic for serialisation, there's this for auto creating models:
https://piccolo-orm.readthedocs.io/en/latest/piccolo/serialization/index.html#create-pydantic-model
You can also easily create endpoints based on tables using this:
https://piccolo-api.readthedocs.io/en/latest/crud/index.html
They're good for getting you started. But after a while you'll probably have to write custom endpoints and models as your app grows in complexity.