Python SDK - Result
askanna.result.get
import askanna
askanna.result.get(run_suuid="{RUN_SUUID}")
Parameters
Name | Type | Required | Description |
---|---|---|---|
run_suuid | String | Yes | SUUID of the run |
Output
Content of the result in bytes
askanna.result.download
import askanna
askanna.result.download(run_suuid="{RUN_SUUID}", output_path="{FILE_PATH}")
Parameters
Name | Type | Required | Description |
---|---|---|---|
run_suuid | String | Yes | SUUID of the run you want to get the result from |
output_path | Path or String | Yes | Path to save the result to. |
Output
The output is the result saved at the output_path
. This function returns None
.
askanna.result.get_content_type
import askanna
askanna.result.get_content_type(run_suuid="{RUN_SUUID}")
Parameters
Name | Type | Required | Description |
---|---|---|---|
run_suuid | String | Yes | SUUID of the run |
Output
String
askanna.result.get_filename
import askanna
askanna.result.get_filename(run_suuid="{RUN_SUUID}")
Parameters
Name | Type | Required | Description |
---|---|---|---|
run_suuid | String | Yes | SUUID of the run |
Output
String