0.6.0
0.6.0 Summary
Added
- custom
updated_at
column name - passing crud to
crud_router
andEndpointCreator
now optional - exceptions in
http_exceptions
now also inexceptions
module
Detailed
Passing custom updated_at
column
You can also customize your `updated_at` column:
```python hl_lines="9"
app.include_router(endpoint_creator(
session=async_session,
model=MyModel,
create_schema=CreateMyModelSchema,
update_schema=UpdateMyModelSchema,
delete_schema=DeleteMyModelSchema,
path="/mymodel",
tags=["MyModel"],
updated_at_column='date_updated'
))
What's Changed
- Passing CRUD now optional, Custom updated_at Column name by @igorbenav in #17
Full Changelog: v0.5.0...v0.6.0