MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __go

Function __go

lib/sqlalchemy/sql/__init__.py:122–153  ·  view source on GitHub ↗
(lcls: Any)

Source from the content-addressed store, hash-verified

120
121
122def __go(lcls: Any) -> None:
123 from .. import util as _sa_util
124
125 from . import base
126 from . import coercions
127 from . import elements
128 from . import lambdas
129 from . import selectable
130 from . import schema
131 from . import traversals
132 from . import type_api
133
134 if not TYPE_CHECKING:
135 base.coercions = elements.coercions = coercions
136 base.elements = elements
137 base.type_api = type_api
138 coercions.elements = elements
139 coercions.lambdas = lambdas
140 coercions.schema = schema
141 coercions.selectable = selectable
142
143 from .annotation import _prepare_annotations
144 from .annotation import Annotated
145 from .elements import AnnotatedColumnElement
146 from .elements import ClauseList
147 from .selectable import AnnotatedFromClause
148
149 _prepare_annotations(ColumnElement, AnnotatedColumnElement)
150 _prepare_annotations(FromClause, AnnotatedFromClause)
151 _prepare_annotations(ClauseList, Annotated)
152
153 _sa_util.preloaded.import_prefix("sqlalchemy.sql")
154
155
156__go(locals())

Callers 1

__init__.pyFile · 0.70

Calls 2

_prepare_annotationsFunction · 0.85
import_prefixMethod · 0.80

Tested by

no test coverage detected