Glossary: Building APIs with FastAPI
default_factory
A `Field` option that calls a function for every new object to produce its default. It makes each order get its own creation time, instead of one time worked out when the file loads.
Glossary: Building APIs with FastAPI
A `Field` option that calls a function for every new object to produce its default. It makes each order get its own creation time, instead of one time worked out when the file loads.