Share via


PyPiLibrary Class

Specifies a PyPi library for use in a DatabricksStep pipeline step.

For an example of working with a DatabricksStep and specifying libraries, see the notebook https://aka.ms/pl-databricks.

Initialize PyPiLibrary.

Constructor

PyPiLibrary(package=None, repo=None)

Parameters

Name Description
package
str

The name of the PyPi package to install. An optional exact version specification is also supported.

Default value: None
repo
str

The repository where the package can be found. If not specified, the default pip index is used.

Default value: None