Skip to content

Commit cb3c2a9

Browse files
committed
ref(transport): add async type annotations to HTTPTransportCore
Add necessary type annotations to the core HttpTransport to accomodate for async transport. GH-4568
1 parent 7916ab2 commit cb3c2a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sentry_sdk/transport.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,9 @@ def _make_pool(
479479
httpcore.SOCKSProxy,
480480
httpcore.HTTPProxy,
481481
httpcore.ConnectionPool,
482+
httpcore.AsyncSOCKSProxy,
483+
httpcore.AsyncHTTPProxy,
484+
httpcore.AsyncConnectionPool,
482485
]:
483486
raise NotImplementedError()
484487

0 commit comments

Comments
 (0)