(*, extra_headers: Headers | None = None)
| 246 | client = client.with_options(http_client=httpx2.Client(transport=body.transport())) |
| 247 | |
| 248 | def request(*, extra_headers: Headers | None = None) -> Stream[object]: |
| 249 | return client.get( |
| 250 | "/stream", |
| 251 | cast_to=object, |
| 252 | options=make_request_options(extra_headers=extra_headers), |
| 253 | stream=True, |
| 254 | stream_cls=stream_cls, |
| 255 | ) |
| 256 | |
| 257 | return request |
| 258 |
no test coverage detected