from typing import Union
from . import QueryableAttribute
+ from ._typing import _LoaderCallable
from .mapper import Mapper
from .session import Session
from .state import InstanceState
self,
class_: Union[Type[_T], AliasedClass[_T]],
key: str,
- typecallable: type,
+ typecallable: _LoaderCallable,
dispatch: _Dispatch[QueryableAttribute[_T]],
target_mapper: Mapper[_T],
order_by: Tuple[()],
"""
query_class = None
- autoflush: Callable[[_T, bool], AppenderQuery[_T]]
+ autoflush: Callable[[bool], AppenderQuery[_T]]
_order_by_clauses: Tuple[ColumnElement[Any], ...]
def __init__(