(
registry: _RegistryType, cls: Type[Any], dict_: _ClassDict
)
| 238 | |
| 239 | |
| 240 | def _as_declarative( |
| 241 | registry: _RegistryType, cls: Type[Any], dict_: _ClassDict |
| 242 | ) -> Optional[_MapperConfig]: |
| 243 | # declarative scans the class for attributes. no table or mapper |
| 244 | # args passed separately. |
| 245 | return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) |
| 246 | |
| 247 | |
| 248 | def _mapper( |
no test coverage detected