Skip to content

modelproxy

ModelTableProxy

Bases: PrefetchQueryMixin, MergeModelMixin, SavePrepareMixin, ExcludableMixin, PydanticMixin

Used to combine all mixins with different set of functionalities. One of the bases of the ormar Model class.

Source code in ormar/models/modelproxy.py
10
11
12
13
14
15
16
17
18
19
20
class ModelTableProxy(
    PrefetchQueryMixin,
    MergeModelMixin,
    SavePrepareMixin,
    ExcludableMixin,
    PydanticMixin,
):
    """
    Used to combine all mixins with different set of functionalities.
    One of the bases of the ormar Model class.
    """