Cassette
A loaded cassette; transport() yields the replaying transport.
__init__
__init__(self, path: Path, interactions: list[dict]) -> None
Parameters
pathrequired, Pathnone
interactionsrequired, list[dict]none
handle
handle(self, request: httpx.Request) -> httpx.Response
Parameters
requestrequired, httpx.Requestnone
transport
transport(self) -> httpx.MockTransport
client
client(self, **kwargs) -> httpx.Client
Parameters
kwargsoptional, anynone