hydra.dsl.system module

DSL functions for hydra.system.

hydra.dsl.system.command(program: TypedTerm[FilePath], arguments: TypedTerm[Sequence[str]], working_directory: TypedTerm[object], environment: TypedTerm[object]) TypedTerm[Command]

DSL constructor for hydra.system.Command.

hydra.dsl.system.command_arguments(x: TypedTerm[Command]) TypedTerm[Sequence[str]]

DSL accessor for the arguments field of hydra.system.Command.

hydra.dsl.system.command_environment(x: TypedTerm[Command]) TypedTerm[object]

DSL accessor for the environment field of hydra.system.Command.

hydra.dsl.system.command_program(x: TypedTerm[Command]) TypedTerm[FilePath]

DSL accessor for the program field of hydra.system.Command.

hydra.dsl.system.command_with_arguments(original: TypedTerm[Command], new_val: TypedTerm[Sequence[str]]) TypedTerm[Command]

DSL updater for the arguments field of hydra.system.Command.

hydra.dsl.system.command_with_environment(original: TypedTerm[Command], new_val: TypedTerm[object]) TypedTerm[Command]

DSL updater for the environment field of hydra.system.Command.

hydra.dsl.system.command_with_program(original: TypedTerm[Command], new_val: TypedTerm[FilePath]) TypedTerm[Command]

DSL updater for the program field of hydra.system.Command.

hydra.dsl.system.command_with_working_directory(original: TypedTerm[Command], new_val: TypedTerm[object]) TypedTerm[Command]

DSL updater for the workingDirectory field of hydra.system.Command.

hydra.dsl.system.command_working_directory(x: TypedTerm[Command]) TypedTerm[object]

DSL accessor for the workingDirectory field of hydra.system.Command.

hydra.dsl.system.environment_variable(x: TypedTerm[str]) TypedTerm[EnvironmentVariable]

DSL constructor for the hydra.system.EnvironmentVariable wrapper.

hydra.dsl.system.process_result(exit_code: TypedTerm[StatusCode], stdout: TypedTerm[bytes], stderr: TypedTerm[bytes]) TypedTerm[ProcessResult]

DSL constructor for hydra.system.ProcessResult.

hydra.dsl.system.process_result_exit_code(x: TypedTerm[ProcessResult]) TypedTerm[StatusCode]

DSL accessor for the exitCode field of hydra.system.ProcessResult.

hydra.dsl.system.process_result_stderr(x: TypedTerm[ProcessResult]) TypedTerm[bytes]

DSL accessor for the stderr field of hydra.system.ProcessResult.

hydra.dsl.system.process_result_stdout(x: TypedTerm[ProcessResult]) TypedTerm[bytes]

DSL accessor for the stdout field of hydra.system.ProcessResult.

hydra.dsl.system.process_result_with_exit_code(original: TypedTerm[ProcessResult], new_val: TypedTerm[StatusCode]) TypedTerm[ProcessResult]

DSL updater for the exitCode field of hydra.system.ProcessResult.

hydra.dsl.system.process_result_with_stderr(original: TypedTerm[ProcessResult], new_val: TypedTerm[bytes]) TypedTerm[ProcessResult]

DSL updater for the stderr field of hydra.system.ProcessResult.

hydra.dsl.system.process_result_with_stdout(original: TypedTerm[ProcessResult], new_val: TypedTerm[bytes]) TypedTerm[ProcessResult]

DSL updater for the stdout field of hydra.system.ProcessResult.

hydra.dsl.system.status_code(x: TypedTerm[int]) TypedTerm[StatusCode]

DSL constructor for the hydra.system.StatusCode wrapper.

hydra.dsl.system.un_environment_variable(x: TypedTerm[EnvironmentVariable]) TypedTerm[str]

DSL accessor for the body of hydra.system.EnvironmentVariable.

hydra.dsl.system.un_status_code(x: TypedTerm[StatusCode]) TypedTerm[int]

DSL accessor for the body of hydra.system.StatusCode.