Skip to content

Commit a06514a

Browse files
committed
Add context vars
1 parent 0daa957 commit a06514a

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)