labthings_fastapi.client.outputs
Module Contents
Classes
An output from LabThings best returned as a file |
API
- class labthings_fastapi.client.outputs.ClientBlobOutput(media_type: str, href: str, client: Optional[httpx.Client] = None)
An output from LabThings best returned as a file
This object is returned by a client when the output is not serialised to JSON. It may be either retrieved to memory using
.content, or saved to a file using.save().