MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _prepare_annotations

Function _prepare_annotations

lib/sqlalchemy/sql/annotation.py:585–590  ·  view source on GitHub ↗
(
    target_hierarchy: Type[SupportsWrappingAnnotations],
    base_cls: Type[Annotated],
)

Source from the content-addressed store, hash-verified

583
584
585def _prepare_annotations(
586 target_hierarchy: Type[SupportsWrappingAnnotations],
587 base_cls: Type[Annotated],
588) -> None:
589 for cls in util.walk_subclasses(target_hierarchy):
590 _new_annotation_type(cls, base_cls)

Callers 1

__goFunction · 0.85

Calls 1

_new_annotation_typeFunction · 0.85

Tested by

no test coverage detected