Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ expect
Function
expect
lib/sqlalchemy/sql/coercions.py:165–169 ·
view source on GitHub ↗
( role: Type[roles.TruncatedLabelRole], element: Any, **kw: Any, )
Source
from the content-addressed store, hash-verified
163
164
@overload
165
def
expect(
166
role: Type[roles.TruncatedLabelRole],
167
element: Any,
168
**kw: Any,
169
) -> str: ...
170
171
172
@overload
Callers
15
test_const_expr_role
Method · 0.90
test_truncated_label_role
Method · 0.90
test_labeled_column_expr_role
Method · 0.90
test_scalar_select_no_coercion
Method · 0.90
test_table_valued_advice
Method · 0.90
test_raise_on_regular_python_obj_for_expr
Method · 0.90
test_no_statement_text_coercion
Method · 0.90
test_select_is_coerced_into_fromclause_w_deprecation
Method · 0.90
test_text_as_from_select_statement
Method · 0.90
test_statement_coercion_select
Method · 0.90
test_statement_coercion_ddl
Method · 0.90
test_from_clause_role
Method · 0.90
Calls
5
_literal_coercion
Method · 0.45
__clause_element__
Method · 0.45
_raise_for_expected
Method · 0.45
_post_coercion
Method · 0.45
_implicit_coercions
Method · 0.45
Tested by
15
test_const_expr_role
Method · 0.72
test_truncated_label_role
Method · 0.72
test_labeled_column_expr_role
Method · 0.72
test_scalar_select_no_coercion
Method · 0.72
test_table_valued_advice
Method · 0.72
test_raise_on_regular_python_obj_for_expr
Method · 0.72
test_no_statement_text_coercion
Method · 0.72
test_select_is_coerced_into_fromclause_w_deprecation
Method · 0.72
test_text_as_from_select_statement
Method · 0.72
test_statement_coercion_select
Method · 0.72
test_statement_coercion_ddl
Method · 0.72
test_from_clause_role
Method · 0.72