qcs_api_client.models.operation#

Module Contents#

Classes#

Operation

An operation, with its sites and site-independent characteristics.

Attributes#

T

qcs_api_client.models.operation.T#
class qcs_api_client.models.operation.Operation#

An operation, with its sites and site-independent characteristics.

characteristics#

The list of site-independent characteristics of this operation.

Type

List[Characteristic]

name#

The name of the operation.

Type

str

parameters#

The list of parameters. Each parameter must be uniquely named. May be empty.

Type

List[Parameter]

sites#

The list of sites at which this operation can be applied, together with its site- dependent characteristics.

Type

List[OperationSite]

node_count#

The number of nodes that this operation applies to. None if unspecified.

Type

Union[Unset, int]

characteristics :List[qcs_api_client.models.characteristic.Characteristic]#
name :str#
parameters :List[qcs_api_client.models.parameter.Parameter]#
sites :List[qcs_api_client.models.operation_site.OperationSite]#
node_count :Union[qcs_api_client.types.Unset, int]#
to_dict(pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_none) Dict[str, Any]#
classmethod from_dict(src_dict: Dict[str, Any]) T#