cirq_google.workflow.ExecutableGroupResultFilesystemRecord
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
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]