(
registry: _RegistryType,
cls: Type[_O],
table: Optional[FromClause],
mapper_kw: _MapperKwArgs,
)
| 246 | |
| 247 | |
| 248 | def _mapper( |
| 249 | registry: _RegistryType, |
| 250 | cls: Type[_O], |
| 251 | table: Optional[FromClause], |
| 252 | mapper_kw: _MapperKwArgs, |
| 253 | ) -> Mapper[_O]: |
| 254 | _ImperativeMapperConfig(registry, cls, table, mapper_kw) |
| 255 | return cast("MappedClassProtocol[_O]", cls).__mapper__ |
| 256 | |
| 257 | |
| 258 | @util.preload_module("sqlalchemy.orm.decl_api") |
no test coverage detected