From 88ef5bad1b74358966388f467deb84da306a2903 Mon Sep 17 00:00:00 2001 From: Alex Hall <alex.mojaki@gmail.com> Date: Fri, 20 Dec 2024 16:14:11 +0200 Subject: [PATCH] not stuff --- logfire/_internal/integrations/httpx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/logfire/_internal/integrations/httpx.py b/logfire/_internal/integrations/httpx.py index 7ca04c98..a3ef0752 100644 --- a/logfire/_internal/integrations/httpx.py +++ b/logfire/_internal/integrations/httpx.py @@ -174,7 +174,7 @@ def make_request_hook( def new_hook(span: Span, request: RequestInfo) -> None: with handle_internal_errors(): - capture_request_stuff(request, span, should_capture_headers, should_capture_json, should_capture_form_data) + capture_request(request, span, should_capture_headers, should_capture_json, should_capture_form_data) run_hook(hook, span, request) return new_hook @@ -191,13 +191,13 @@ def make_async_request_hook( async def new_hook(span: Span, request: RequestInfo) -> None: with handle_internal_errors(): - capture_request_stuff(request, span, should_capture_headers, should_capture_json, should_capture_form_data) + capture_request(request, span, should_capture_headers, should_capture_json, should_capture_form_data) await run_async_hook(hook, span, request) return new_hook -def capture_request_stuff( +def capture_request( request: RequestInfo, span: Span, should_capture_headers: bool,