Source code for scm.input_classes.engines.pipe

from __future__ import annotations
from pathlib import Path
from typing import Iterable, Literal, Sequence
from scm.pisa.block import DriverBlock,EngineBlock,FixedBlock,FreeBlock,InputBlock
from scm.pisa.key import BoolKey,FloatKey,FloatListKey,IntKey,IntListKey,MultipleChoiceKey,PathStringKey,StringKey,BoolType

[docs]class Pipe(EngineBlock): r""" :ivar WorkerCommand: The command to execute to run the external worker. The command is executed in a subdirectory of the results directory. :vartype WorkerCommand: str | StringKey """ def __post_init__(self): self.WorkerCommand: str | StringKey = StringKey(name='WorkerCommand', comment='The command to execute to run the external worker. The command is executed in a subdirectory of the results directory.')