Skip to content

Python API reference

Python functions, classes, and shared types.

API areas

Browse the sidebar for all modules, or search for a function or type.

Index

FunctionDescription
printEchoes back the string you added.
TypeDescription
RemoteHandleAn opaque reference to stored blob data.

print

def print(*, message: str, _transaction_id: str | None = None) -> str

Echoes back the string you added.

Returns str.

message : str

The message to echo.

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.

RemoteHandle

RemoteHandle(*, uuid: str)

An opaque reference to stored blob data.

A handle identifies data, independent of its location or format. Constructing a handle does not check whether the data exists. A statement that reads the data reports missing data or an incompatible format. Preserve the UUID string when passing a handle between clients.

uuid : str

The stored data’s identifier as a hyphenated UUID string.