Skip to content

Commit f209059

Browse files
committed
Transport was not being passed...
1 parent 52471f9 commit f209059

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ def create_client(
12231223
transport: typing.Optional[SyncOpenTelemetryTransport] = None,
12241224
**kwargs,
12251225
):
1226-
return httpx.Client(**kwargs)
1226+
return httpx.Client(transport=transport, **kwargs)
12271227

12281228
def perform_request(
12291229
self,
@@ -1273,7 +1273,7 @@ def create_client(
12731273
transport: typing.Optional[AsyncOpenTelemetryTransport] = None,
12741274
**kwargs,
12751275
):
1276-
return httpx.AsyncClient(**kwargs)
1276+
return httpx.AsyncClient(transport=transport, **kwargs)
12771277

12781278
def perform_request(
12791279
self,

0 commit comments

Comments
 (0)