read_blob

ezga_lib_class.read_blob(blob_id, agent_id=None, current=False)

Read a blob from append-only history or the current-blob table.

Parameters:
  • blob_id (int) – Identifier of the blob.

  • agent_id (int, optional) – EZGA agent identifier; None includes all agents in list queries. Default: None.

  • current (bool, optional) – Read the current-blob tables when true, or append-only blob history when false. Default: False.

Returns:

EzgaBlob or None – Blob view, or None when no matching agent and blob ID exists.