Add new Session.get() parameter execution_options (#302)

This commit is contained in:
Sebastián Ramírez 2022-04-16 11:13:19 +02:00 committed by GitHub
parent 8e97c93de0
commit 03e861d048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,7 @@ class Session(_Session):
populate_existing: bool = False, populate_existing: bool = False,
with_for_update: Optional[Union[Literal[True], Mapping[str, Any]]] = None, with_for_update: Optional[Union[Literal[True], Mapping[str, Any]]] = None,
identity_token: Optional[Any] = None, identity_token: Optional[Any] = None,
execution_options: Optional[Mapping[Any, Any]] = util.EMPTY_DICT,
) -> Optional[_TSelectParam]: ) -> Optional[_TSelectParam]:
return super().get( return super().get(
entity, entity,
@ -136,4 +137,5 @@ class Session(_Session):
populate_existing=populate_existing, populate_existing=populate_existing,
with_for_update=with_for_update, with_for_update=with_for_update,
identity_token=identity_token, identity_token=identity_token,
execution_options=execution_options,
) )