qwikstart.parser.operations module

class qwikstart.parser.operations.OperationDefinition(name, config)

Bases: tuple

property config

Alias for field number 1

property name

Alias for field number 0

property parsed_config

Return operation configuration parsed from raw config input.

Any configuration that is not a reserved word will be added to the local_context passed to the operation initializer.

qwikstart.parser.operations.parse_operation(op_spec: Union[str, Dict[str, Any], Tuple[str, Any]], known_operations: Optional[Dict[str, Type[qwikstart.operations.base.BaseOperation[qwikstart.base_context.BaseContext, Optional[Mapping[str, Any]]]]]] = None) → qwikstart.operations.base.BaseOperation[qwikstart.base_context.BaseContext, Optional[Mapping[str, Any]]]