MCPcopy Create free account
hub / github.com/authlib/authlib / extract_client_kwargs

Function extract_client_kwargs

authlib/integrations/httpx_client/utils.py:26–31  ·  view source on GitHub ↗
(kwargs)

Source from the content-addressed store, hash-verified

24
25
26def extract_client_kwargs(kwargs):
27 client_kwargs = {}
28 for k in HTTPX_CLIENT_KWARGS:
29 if k in kwargs:
30 client_kwargs[k] = kwargs.pop(k)
31 return client_kwargs
32
33
34def build_request(url, headers, body, initial_request: Request) -> Request:

Callers 4

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected