mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-04-16 06:36:26 +02:00
* feat: rework async event system * docs: add v3 migration guide * feat: add cache * enhancements
35 lines
717 B
Markdown
35 lines
717 B
Markdown
# `models`
|
|
|
|
Here's the reference for the SQLAlchemy model mixins provided by the `models` module.
|
|
|
|
You can import them directly from `fastapi_toolsets.models`:
|
|
|
|
```python
|
|
from fastapi_toolsets.models import (
|
|
EventSession,
|
|
ModelEvent,
|
|
UUIDMixin,
|
|
UUIDv7Mixin,
|
|
CreatedAtMixin,
|
|
UpdatedAtMixin,
|
|
TimestampMixin,
|
|
listens_for,
|
|
)
|
|
```
|
|
|
|
## ::: fastapi_toolsets.models.EventSession
|
|
|
|
## ::: fastapi_toolsets.models.ModelEvent
|
|
|
|
## ::: fastapi_toolsets.models.UUIDMixin
|
|
|
|
## ::: fastapi_toolsets.models.UUIDv7Mixin
|
|
|
|
## ::: fastapi_toolsets.models.CreatedAtMixin
|
|
|
|
## ::: fastapi_toolsets.models.UpdatedAtMixin
|
|
|
|
## ::: fastapi_toolsets.models.TimestampMixin
|
|
|
|
## ::: fastapi_toolsets.models.listens_for
|