(
cls,
class_: Union[DeclarativeAttributeIntercept, DeclarativeMeta, type],
mapper: Mapper[_O],
)
| 815 | |
| 816 | @classmethod |
| 817 | def _new_mapper_instance( |
| 818 | cls, |
| 819 | class_: Union[DeclarativeAttributeIntercept, DeclarativeMeta, type], |
| 820 | mapper: Mapper[_O], |
| 821 | ) -> None: |
| 822 | _MapperEventsHold.populate(class_, mapper) |
| 823 | |
| 824 | @classmethod |
| 825 | @util.preload_module("sqlalchemy.orm") |