Skip to main content

Module clients.sandbox.filesystem.read_file_response

Functions

read_file_response_from_api_object

def read_file_response_from_api_object(api_object: h2o_engine_manager.gen.model.v1_read_file_response.V1ReadFileResponse) ‑> ReadFileResponse

Classes

ReadFileResponse

class ReadFileResponse(content: bytes, file_info: h2o_engine_manager.clients.sandbox.filesystem.file_info.FileInfo)

Response from reading a file.

ReadFileResponse contains the file content and metadata.

Args
content
The raw content of the file as bytes.
file_info
Metadata about the file.

Feedback