MCPcopy
hub / github.com/encode/starlette / get

Method get

starlette/testclient.py:470–491  ·  starlette/testclient.py::TestClient.get
(  # type: ignore[override]
        self,
        url: httpx._types.URLTypes,
        *,
        params: httpx._types.QueryParamTypes | None = None,
        headers: httpx._types.HeaderTypes | None = None,
        cookies: httpx._types.CookieTypes | None = None,
        auth: httpx._types.AuthTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
        follow_redirects: bool | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
        timeout: httpx._types.TimeoutTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
        extensions: dict[str, Any] | None = None,
    )

Source from the content-addressed store, hash-verified

468 )
469
470 def get( class="cm"># type: ignore[override]
471 self,
472 url: httpx._types.URLTypes,
473 *,
474 params: httpx._types.QueryParamTypes | None = None,
475 headers: httpx._types.HeaderTypes | None = None,
476 cookies: httpx._types.CookieTypes | None = None,
477 auth: httpx._types.AuthTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
478 follow_redirects: bool | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
479 timeout: httpx._types.TimeoutTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
480 extensions: dict[str, Any] | None = None,
481 ) -> httpx.Response:
482 return super().get(
483 url,
484 params=params,
485 headers=headers,
486 cookies=cookies,
487 auth=auth,
488 follow_redirects=follow_redirects,
489 timeout=timeout,
490 extensions=extensions,
491 )
492
493 def options( class="cm"># type: ignore[override]
494 self,

Callers 6

test_timeout_deprecationFunction · 0.95
__enter__Method · 0.45
_raise_on_closeMethod · 0.45
handle_requestMethod · 0.45
sendMethod · 0.45
websocket_connectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected