Skip to content

pb_client.service.Service.start_program async

start_program(*, hub_id=None, slot=None, wait=False)

Start a program already stored on the hub.

Parameters:

Name Type Description Default
hub_id str | None

Which hub, or None for the current one.

None
slot int | None

Which slot, or None for the hub's current selection.

None
wait bool

Whether to return only once the program has stopped.

False

Returns:

Type Description
str

Why it ended: "started" if not waiting, otherwise "stopped"

str

or "disconnected".