Skip to main content

Pip Dependencies

class covalent._workflow.depspip.DepsPip.

#

PyPI packages to be installed before executing an electron

A specification of Pip packages to be installed

packages

A list of PyPI packages to install

reqs_path

Path to requirements.txt (overrides packages)

These packages are installed in an electron’s execution environment just before the electron is run.

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