Declarative-compatible front-end for the :class:`.CompositeProperty` class. Public constructor is the :func:`_orm.composite` function. .. versionchanged:: 2.0 Added :class:`_orm.Composite` as a Declarative compatible subclass of :class:`_orm.CompositeProperty`. .. seealso::
| 862 | |
| 863 | |
| 864 | class Composite(CompositeProperty[_T], _DeclarativeMapped[_T]): |
| 865 | """Declarative-compatible front-end for the :class:`.CompositeProperty` |
| 866 | class. |
| 867 | |
| 868 | Public constructor is the :func:`_orm.composite` function. |
| 869 | |
| 870 | .. versionchanged:: 2.0 Added :class:`_orm.Composite` as a Declarative |
| 871 | compatible subclass of :class:`_orm.CompositeProperty`. |
| 872 | |
| 873 | .. seealso:: |
| 874 | |
| 875 | :ref:`mapper_composite` |
| 876 | |
| 877 | """ |
| 878 | |
| 879 | inherit_cache = True |
| 880 | """:meta private:""" |
| 881 | |
| 882 | |
| 883 | class ConcreteInheritedProperty(DescriptorProperty[_T]): |