Files
ormar/ormar/models/modelproxy.py
collerek 52d992d8c7 Fix for prefetch related (#1275)
* fix prefetch related merging same relations refering to the same children models

* change to List for p3.8

* adapt refactored prefetch query from abandoned composite_key branch and make sure new test passes

* remove unused code, add missing test for prefetch related with self reference models
2024-03-24 00:00:51 +01:00

19 lines
363 B
Python

from ormar.models.mixins import (
ExcludableMixin,
MergeModelMixin,
PydanticMixin,
SavePrepareMixin,
)
class ModelTableProxy(
MergeModelMixin,
SavePrepareMixin,
ExcludableMixin,
PydanticMixin,
):
"""
Used to combine all mixins with different set of functionalities.
One of the bases of the ormar Model class.
"""