Skip to content

Commit 2347b89

Browse files
ckarnellilevkivskyi
authored andcommitted
Add type stubs for new load strategies (#106)
Fixes #83 Also add in the other new load strategies. They are ordered in the way they are declared in the main sqlalchemy repo.
1 parent 9b94099 commit 2347b89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sqlalchemy-stubs/orm/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,13 @@ lazyload: Any = ...
7676
lazyload_all: Any = ...
7777
subqueryload: Any = ...
7878
subqueryload_all: Any = ...
79+
selectinload: Any = ...
80+
selectinload_all: Any = ...
7981
immediateload: Any = ...
8082
noload: Any = ...
8183
raiseload: Any = ...
8284
defaultload: Any = ...
85+
selectin_polymorphic: Any = ...
8386

8487
def eagerload(*args, **kwargs): ...
8588
def eagerload_all(*args, **kwargs): ...

0 commit comments

Comments
 (0)