Skip to content

Commit

Permalink
Add type stubs for new load strategies (#106)
Browse files Browse the repository at this point in the history
Fixes #83

Also add in the other new load strategies. They are ordered in the way they are declared in the main sqlalchemy repo.
  • Loading branch information
ckarnell authored and ilevkivskyi committed Sep 12, 2019
1 parent 9b94099 commit 2347b89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sqlalchemy-stubs/orm/__init__.pyi
Expand Up @@ -76,10 +76,13 @@ lazyload: Any = ...
lazyload_all: Any = ...
subqueryload: Any = ...
subqueryload_all: Any = ...
selectinload: Any = ...
selectinload_all: Any = ...
immediateload: Any = ...
noload: Any = ...
raiseload: Any = ...
defaultload: Any = ...
selectin_polymorphic: Any = ...

def eagerload(*args, **kwargs): ...
def eagerload_all(*args, **kwargs): ...
Expand Down

0 comments on commit 2347b89

Please sign in to comment.