|  View source on GitHub | 
A generic executable spec whose metadata is a list of key-value pairs.
Inherits From: ExecutableSpec
cirq_google.workflow.KeyValueExecutableSpec(
    executable_family: str = cirq_google.workflow.ExecutableSpec.executable_family,
    key_value_pairs: tuple[tuple[str, Any], ...] = ()
)
The key-value pairs define an implicit data schema. Consider defining a problem-specific
subclass of ExecutableSpec instead of using this class to realize the benefits of having
an explicit schema.
| See Also | |
|---|---|
| KeyValueExecutableSpec.from_dictwill use a dictionary to populatekey_value_pairs. | 
| Attributes | |
|---|---|
| executable_family | Dataclass field | 
| key_value_pairs | Dataclass field | 
Methods
from_dict
@classmethodfrom_dict( d: dict[str, Any], *, executable_family: str ) -> KeyValueExecutableSpec
to_dict
to_dict() -> dict[str, Any]
__eq__
__eq__(
    other
)
Return self==value.
| Class Variables | |
|---|---|
| executable_family | Instance of NotImplementedType | 
| key_value_pairs | () |