Scripting API
hrb_scripting_api — decorators and runtime interface for authoring Cellario OS scripts.
See the Script Authoring guide for platform limits, structure rules, and common patterns.
Client
from hrb_scripting_api.scripting_api import IAsyncScriptingApi
from hrb_scripting_api.scripting_decorators import InParam, Main, OutParamKey Exports
Symbol | Description |
|---|---|
Main | Decorator marking the script entry point |
InParam | Declares a script input parameter (use inside Annotated[T, InParam(...)]) |
OutParam | Declares a script output parameter (use inside Annotated[T, OutParam(...)]) |
IAsyncScriptingApi | Async interface injected at runtime — exposes data, blob_storage, events, lab_services, secrets, workflow_order_id |
SecretsAccessor | Type of api.secrets — dict-like accessor for vault secrets |
LabwareLocation | Type for specifying labware locations |
LabwareSet / LabwareSetV2 | Types for labware collections |
MoveOperation | Type for labware move operations |