* 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
19 lines
363 B
Python
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.
|
|
"""
|