Skip to content

0.6.0

Compare
Choose a tag to compare
@igorbenav igorbenav released this 11 Feb 21:50
· 407 commits to main since this release
648b0bd

0.6.0 Summary

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'
))

What's Changed

  • Passing CRUD now optional, Custom updated_at Column name by @igorbenav in #17

Full Changelog: v0.5.0...v0.6.0