pb_client.service.Service.download
async
¶
download(program, *, hub_id=None, slot=None)
Send a compiled program to a hub without starting it.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
program
|
bytes
|
The compiled program. |
required |
hub_id
|
str | None
|
Which hub, or |
None
|
slot
|
int | None
|
The slot it is expected to land in, or |
None
|
Returns:
| Type | Description |
|---|---|
Downloaded
|
What was written and where. |