Skip to content

Commit

Permalink
improve type of dynamic (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaselIT authored Aug 27, 2022
1 parent 7f6a489 commit 79438e3
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions sqlalchemy-stubs/orm/dynamic.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Any
from typing import List
from typing import Optional

from . import attributes as attributes
Expand Down Expand Up @@ -112,25 +113,29 @@ class AppenderQuery(Generative):
def autoflush(self, setting: Any) -> None: ...
@property
def statement(self): ...
def filter(self, *criteria: Any): ...
def where(self, *criteria: Any) -> None: ...
def order_by(self, *criteria: Any) -> None: ...
def filter_by(self, **kwargs: Any) -> None: ...
def join(self, target: Any, *props: Any, **kwargs: Any) -> None: ...
def outerjoin(self, target: Any, *props: Any, **kwargs: Any) -> None: ...
def scalar(self): ...
def first(self): ...
def one(self): ...
def one_or_none(self): ...
def all(self): ...
def filter(self, *criteria: Any) -> AppenderQuery: ...
def where(self, *criteria: Any) -> AppenderQuery: ...
def order_by(self, *criteria: Any) -> AppenderQuery: ...
def filter_by(self, **kwargs: Any) -> AppenderQuery: ...
def join(
self, target: Any, *props: Any, **kwargs: Any
) -> AppenderQuery: ...
def outerjoin(
self, target: Any, *props: Any, **kwargs: Any
) -> AppenderQuery: ...
def scalar(self) -> Any: ...
def first(self) -> Any: ...
def one(self) -> Any: ...
def one_or_none(self) -> Any: ...
def all(self) -> List[Any]: ...
def session(self): ...
session: Any = ...
def __iter__(self) -> Any: ...
def __getitem__(self, index: Any): ...
def limit(self, limit: Any) -> None: ...
def offset(self, offset: Any) -> None: ...
def slice(self, start: Any, stop: Any) -> None: ...
def count(self): ...
def __getitem__(self, index: Any) -> Any: ...
def limit(self, limit: Any) -> AppenderQuery: ...
def offset(self, offset: Any) -> AppenderQuery: ...
def slice(self, start: Any, stop: Any) -> AppenderQuery: ...
def count(self) -> int: ...
def extend(self, iterator: Any) -> None: ...
def append(self, item: Any) -> None: ...
def remove(self, item: Any) -> None: ...
Expand Down

0 comments on commit 79438e3

Please sign in to comment.