braket.task_result.program_result_v1 module
- class braket.task_result.program_result_v1.ProgramResult(*, braketSchemaHeader: BraketSchemaHeader = BraketSchemaHeader(name='braket.task_result.program_result', version='1'), executableResults: list[str] | list[ProgramSetExecutableResult | ProgramSetExecutableFailure], source: str | Program, additionalMetadata: AdditionalMetadata)[source]
Bases:
BraketSchemaBaseThe results of single program of a program set.
- executableResults
# noqa The relative S3 paths of the executable result files, or a list of the executable results or failures themselves.
- Type:
Union[list[str], list[ProgramSetExecutableResult | ProgramSetExecutableFailure]]
- source
The program that was run or the relative S3 path of the program file; if the program is parametrized, this includes all input values the program was run with.
- Type:
Union[str, Program]
- additionalMetadata
Additional metadata of the task.
- Type:
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- braketSchemaHeader: BraketSchemaHeader
- executableResults: list[str] | list[ProgramSetExecutableResult | ProgramSetExecutableFailure]
- additionalMetadata: AdditionalMetadata