jobflow_remote.testing package#
Submodules#
Module contents#
A series of toy workflows that can be used for testing.
- class jobflow_remote.testing.EnumMaker(e: jobflow_remote.testing.TestEnum = <TestEnum.A: 'A'>, name: str = 'enum maker')[source]#
- Bases: - Maker
- jobflow_remote.testing.add(a, b)[source]#
- Adds two numbers together and writes the answer to a file. 
- jobflow_remote.testing.add_big(a: float, b: float)[source]#
- Adds two numbers together and inflates the answer to a large list and tries to store that within the defined store. 
- jobflow_remote.testing.add_big_undefined_store(a: float, b: float)[source]#
- Adds two numbers together and writes the answer to an artificially large file which is attempted to be stored in a undefined store. 
- jobflow_remote.testing.add_sleep(a, b)[source]#
- Adds two numbers together and sleeps for “b” seconds. 
- jobflow_remote.testing.arithmetic(a: float | list[float], b: float | list[float], op: Callable | None = None) float | None[source]#
- jobflow_remote.testing.create_detour(detour_job: Job)[source]#
- Create a detour based on the passed Job. 
- jobflow_remote.testing.ignore_input(a: int) int[source]#
- Can receive an input, but ignores it. - Allows to test flows with failed parents