We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8479649 commit a04783eCopy full SHA for a04783e
1 file changed
src/functions_framework/execution_id.py
@@ -159,15 +159,13 @@ def wrapper(*args, **kwargs):
159
160
with stderr_redirect, stdout_redirect:
161
result = view_function(*args, **kwargs)
162
- # Context cleanup happens automatically via Flask's request context
163
return result
164
165
return wrapper
166
167
return decorator
168
169
170
-# Async version of set_execution_context for ASGI/Starlette
171
def set_execution_context_async(enable_id_logging=False):
172
if enable_id_logging:
173
stdout_redirect = contextlib.redirect_stdout(
0 commit comments