| 440 | |
| 441 | |
| 442 | class _ClassScanMapperConfig(_MapperConfig): |
| 443 | __slots__ = ( |
| 444 | "registry", |
| 445 | "clsdict_view", |
| 446 | "collected_attributes", |
| 447 | "collected_annotations", |
| 448 | "local_table", |
| 449 | "persist_selectable", |
| 450 | "declared_columns", |
| 451 | "column_ordering", |
| 452 | "column_copies", |
| 453 | "table_args", |
| 454 | "tablename", |
| 455 | "mapper_args", |
| 456 | "mapper_args_fn", |
| 457 | "table_fn", |
| 458 | "inherits", |
| 459 | "single", |
| 460 | "allow_dataclass_fields", |
| 461 | "dataclass_setup_arguments", |
| 462 | "is_dataclass_prior_to_mapping", |
| 463 | "allow_unmapped_annotations", |
| 464 | ) |
| 465 | |
| 466 | is_deferred = False |
| 467 | registry: _RegistryType |
| 468 | clsdict_view: _ClassDict |
| 469 | collected_annotations: Dict[str, _CollectedAnnotation] |
| 470 | collected_attributes: Dict[str, Any] |
| 471 | local_table: Optional[FromClause] |
| 472 | persist_selectable: Optional[FromClause] |
| 473 | declared_columns: util.OrderedSet[Column[Any]] |
| 474 | column_ordering: Dict[Column[Any], int] |
| 475 | column_copies: Dict[ |
| 476 | Union[MappedColumn[Any], Column[Any]], |
| 477 | Union[MappedColumn[Any], Column[Any]], |
| 478 | ] |
| 479 | tablename: Optional[str] |
| 480 | mapper_args: Mapping[str, Any] |
| 481 | table_args: Optional[_TableArgsType] |
| 482 | mapper_args_fn: Optional[Callable[[], Dict[str, Any]]] |
| 483 | inherits: Optional[Type[Any]] |
| 484 | single: bool |
| 485 | |
| 486 | is_dataclass_prior_to_mapping: bool |
| 487 | allow_unmapped_annotations: bool |
| 488 | |
| 489 | dataclass_setup_arguments: Optional[_DataclassArguments] |
| 490 | """if the class has SQLAlchemy native dataclass parameters, where |
| 491 | we will turn the class into a dataclass within the declarative mapping |
| 492 | process. |
| 493 | |
| 494 | """ |
| 495 | |
| 496 | allow_dataclass_fields: bool |
| 497 | """if true, look for dataclass-processed Field objects on the target |
| 498 | class as well as superclasses and extract ORM mapping directives from |
| 499 | the "metadata" attribute of each Field. |