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

Method __init__

lib/sqlalchemy/sql/elements.py:4383–4392  ·  view source on GitHub ↗
(
        self,
        element: Union[FunctionElement[_T], FunctionFilter[_T]],
        *order_by: _ColumnExpressionArgument[Any],
    )

Source from the content-addressed store, hash-verified

4381 order_by: Optional[ClauseList] = None
4382
4383 def __init__(
4384 self,
4385 element: Union[FunctionElement[_T], FunctionFilter[_T]],
4386 *order_by: _ColumnExpressionArgument[Any],
4387 ):
4388 self.element = element
4389 if order_by is not None:
4390 self.order_by = ClauseList(
4391 *util.to_list(order_by), _literal_as_text_role=roles.ByOfRole
4392 )
4393
4394 def __reduce__(self):
4395 return self.__class__, (self.element,) + (

Callers

nothing calls this directly

Calls 1

ClauseListClass · 0.85

Tested by

no test coverage detected