operations
Attributes¶
OPERATION_TYPE_DETAILS = TypeVar('OPERATION_TYPE_DETAILS', bound=OperationDetails)
module-attribute
¶
Classes¶
OperationType
¶
Bases: abc.ABC
, Generic[OPERATION_TYPE_DETAILS]
Source code in kiara/operations/__init__.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
|
Attributes¶
operations: Mapping[str, Operation]
property
¶
Functions¶
retrieve_included_operation_configs() -> Iterable[Union[Mapping, OperationConfig]]
¶
Source code in kiara/operations/__init__.py
36 37 38 39 |
|
check_matching_operation(module: KiaraModule) -> Union[OPERATION_TYPE_DETAILS, None]
abstractmethod
¶
Check whether the provided module is a valid operation for this type.
Source code in kiara/operations/__init__.py
41 42 43 44 45 |
|
retrieve_operation_details(operation: Union[Operation, str]) -> OPERATION_TYPE_DETAILS
¶
Retrieve operation details for provided operation.
This is really just a utility method, to make the type checker happy.
Source code in kiara/operations/__init__.py
47 48 49 50 51 52 53 54 55 56 57 58 |
|
create_renderable(**config)
¶
Source code in kiara/operations/__init__.py
60 61 62 63 64 65 |
|