Skip to content

Commit 12b1f46

Browse files
committed
style: fix black formatting
1 parent 69919d7 commit 12b1f46

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/functions_framework/execution_id.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _generate_execution_id():
7878
def _extract_context_from_headers(headers):
7979
"""Extract execution context from request headers."""
8080
execution_id = headers.get(EXECUTION_ID_REQUEST_HEADER)
81-
81+
8282
trace_context = re.match(
8383
_TRACE_CONTEXT_REGEX_PATTERN,
8484
headers.get(TRACE_CONTEXT_REQUEST_HEADER, ""),

tests/test_execution_id_async.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ def test_async_does_not_set_execution_id_when_not_enabled(capsys):
138138
assert "some-message" in record.out
139139

140140

141-
def test_async_concurrent_requests_maintain_separate_execution_ids(
142-
capsys, monkeypatch
143-
):
141+
def test_async_concurrent_requests_maintain_separate_execution_ids(capsys, monkeypatch):
144142
monkeypatch.setenv("LOG_EXECUTION_ID", "true")
145143

146144
source = TEST_FUNCTIONS_DIR / "execution_id" / "async_main.py"

0 commit comments

Comments
 (0)