in src/functions_framework/execution_id.py [0:0]
def __new__(cls, stream=sys.stdout):
if isinstance(stream, LoggingHandlerAddExecutionId):
return stream
else:
return super(LoggingHandlerAddExecutionId, cls).__new__(cls)