class documentation
class _IntrospectsAnnotations: (source)
Known subclasses: sqlalchemy.orm.descriptor_props.CompositeProperty
, sqlalchemy.orm.properties.ColumnProperty
, sqlalchemy.orm.properties.MappedColumn
, sqlalchemy.orm.properties.RelationshipProperty
Undocumented
Method | declarative |
Perform class-specific initializaton at early declarative scanning time. |
Method | found |
return a copy of this object to use in declarative when the object is found inside of an Annotated object. |
Class Variable | __slots__ |
Undocumented |
Method | _raise |
Undocumented |
def declarative_scan(self, decl_scan:
_ClassScanMapperConfig
, registry: RegistryType
, cls: Type[ Any]
, originating_module: Optional[ str]
, key: str
, mapped_container: Optional[ Type[ Mapped[ Any]]]
, annotation: Optional[ _AnnotationScanType]
, extracted_mapped_annotation: Optional[ _AnnotationScanType]
, is_dataclass_field: bool
):
(source)
¶
overridden in
sqlalchemy.orm.descriptor_props.CompositeProperty
, sqlalchemy.orm.properties.ColumnProperty
, sqlalchemy.orm.properties.MappedColumn
, sqlalchemy.orm.properties.RelationshipProperty
Perform class-specific initializaton at early declarative scanning time. .. versionadded:: 2.0
overridden in
sqlalchemy.orm.properties.MappedColumn
return a copy of this object to use in declarative when the object is found inside of an Annotated object.