def __init__(
self,
task_id: TaskId,
*,
args: List[str],
env: Optional[EnvType] = None,
cwd: Optional[GenericPath] = None,
stdout: Optional[Stdio] = None,
stderr: Optional[Stdio] = None,
stdin: Optional[Union[str, bytes]] = None,
name: Optional[str] = None,
dependencies: Sequence[Task] = (),
task_dir: bool = False,
priority: int = 0,
resources: Optional[ResourceRequest],
)