Passing CRUD now optional, Custom updated_at Column name
Added
custom updated_at column name
passing crud to crud_router and EndpointCreator now optional
exceptions in http_exceptions now also in exceptions 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'
))
Passing CRUD now optional, Custom updated_at Column name
Added
Detailed
Passing custom
updated_at
column