We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 378d217 + a06514a commit 5e4f6d4Copy full SHA for 5e4f6d4
uncoder-core/app/translator/core/context_vars.py
@@ -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