pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/estarfoo/sqlmodel/commit/03e861d048f04e91c5526547ced7e6de5f8ccf64

crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> ✨ Add new Session.get() parameter execution_options (#302) · estarfoo/sqlmodel@03e861d · GitHub
Skip to content

Commit 03e861d

Browse files
authored
✨ Add new Session.get() parameter execution_options (fastapi#302)
1 parent 8e97c93 commit 03e861d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sqlmodel/orm/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def get(
128128
populate_existing: bool = False,
129129
with_for_update: Optional[Union[Literal[True], Mapping[str, Any]]] = None,
130130
identity_token: Optional[Any] = None,
131+
execution_options: Optional[Mapping[Any, Any]] = util.EMPTY_DICT,
131132
) -> Optional[_TSelectParam]:
132133
return super().get(
133134
entity,
@@ -136,4 +137,5 @@ def get(
136137
populate_existing=populate_existing,
137138
with_for_update=with_for_update,
138139
identity_token=identity_token,
140+
execution_options=execution_options,
139141
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy