Skip to main content

Bash Dependencies

class covalent.DepsBash

#

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

Return a JSON-serializable dictionary representation of self

from_dict

#

Rehydrate a dictionary representation

Parameters

object_dict - a dictionary representation returned by to_dict

Return Type

Returns

self

Instance attributes will be overwritten.

to_dict

#

Return a JSON-serializable dictionary representation of self

Return Type

dict

Examples