Skip to content

Commit 5e4f6d4

Browse files
authored
Merge pull request #145 from UncoderIO/fix-add-context-vars
Add context vars
2 parents 378d217 + a06514a commit 5e4f6d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from contextvars import ContextVar
2+
3+
return_only_first_query_ctx_var: ContextVar[bool] = ContextVar("return_only_first_query_ctx_var", default=False)
4+
"""Set to True to return ony first query if rendered multiple options"""

0 commit comments

Comments
 (0)