labapi.client.StreamingResponse#
- class labapi.client.StreamingResponse(response: Response)[source]#
Bases:
objectWrapper for streamed API responses.
Exposes both the chunk iterator and the underlying HTTP response object so callers can read headers/status without relying on
StopIteration.value.Methods
__init__(response)Initialize a streamed response wrapper.
close()Close the underlying response and release its connection.
Attributes
The raw response object backing the stream.