MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / aliased

Function aliased

lib/sqlalchemy/orm/_orm_constructors.py:2339–2345  ·  view source on GitHub ↗
(
    element: Type[_O],
    alias: Optional[FromClause] = None,
    name: Optional[str] = None,
    flat: bool = False,
    adapt_on_names: bool = False,
)

Source from the content-addressed store, hash-verified

2337
2338@overload
2339def aliased(
2340 element: Type[_O],
2341 alias: Optional[FromClause] = None,
2342 name: Optional[str] = None,
2343 flat: bool = False,
2344 adapt_on_names: bool = False,
2345) -> AliasedType[_O]: ...
2346
2347
2348@overload

Callers 15

t_entity_varietiesFunction · 0.90
t_aliasedFunction · 0.90
test_9669_of_typeFunction · 0.90
relationship.pyFile · 0.90
t_select_3Function · 0.90
t_select_4Function · 0.90
t_legacy_query_cols_2Function · 0.90
t_aliased_fromclauseFunction · 0.90
test_query_threeMethod · 0.90

Calls 1

_alias_factoryMethod · 0.80

Tested by 15

test_9669_of_typeFunction · 0.72
test_query_threeMethod · 0.72
test_aliasesMethod · 0.72
test_aliased_valueMethod · 0.72
test_aliased_queryMethod · 0.72
test_aliased_filterMethod · 0.72
test_aliased_queryMethod · 0.72