Filename references to the constituent parts of a cg.ExecutableGroupResult
.
cirq_google.workflow.ExecutableGroupResultFilesystemRecord(
runtime_configuration_path: str,
shared_runtime_info_path: str,
executable_result_paths: List[str],
run_id: str
)
Args |
runtime_configuration_path
|
A filename pointing to the runtime_configuration value.
|
shared_runtime_info_path
|
A filename pointing to the shared_runtime_info value.
|
executable_result_paths
|
A list of filenames pointing to the executable_results values.
|
run_id
|
The unique str identifier from this run. This is used to locate the other
values on disk.
|
Attributes |
runtime_configuration_path
|
Dataclass field
|
shared_runtime_info_path
|
Dataclass field
|
executable_result_paths
|
Dataclass field
|
run_id
|
Dataclass field
|
Methods
from_json
View source
@classmethod
from_json(
*, run_id: str, base_data_dir: str = '.'
) -> 'ExecutableGroupResultFilesystemRecord'
load
View source
load(
*, base_data_dir: str = '.'
) -> 'cg.ExecutableGroupResult'
Using the filename references in this dataclass, load a cg.ExecutableGroupResult
from its constituent parts.
Args |
base_data_dir
|
The base data directory. Files should be found at
{base_data_dir}/{run_id}/{this class's paths}
|
__eq__
__eq__(
other
)