in src/functions_framework/execution_id.py [0:0]
def _get_current_context(): return ( flask.g.execution_id_context if flask.has_request_context() and "execution_id_context" in flask.g else None )