Bash Dependencies#
Shell commands to run before an electron execution.
- class covalent._workflow.depsbash.DepsBash(commands=[])[source]#
Shell commands to run before an electron
Deps class to encapsulate Bash dependencies for an electron.
The specified commands will be executed as subprocesses in the same environment as the electron.
- commands#
A list of bash commands to execute before the electron runs.
Methods:
from_dict(object_dict)Rehydrate a dictionary representation
to_dict()Return a JSON-serializable dictionary representation of self
Examples#
Add a Bash dependency to an electron