添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Skip to main content

@conda

The @conda decorator specifies what libraries should be made available for a step.

The libraries are installed from Conda repositories . For more information, see Managing External Libraries .

from metaflow import conda

Specifies the Conda environment for the step.

Information in this decorator will augment any attributes set in the @conda_base flow-level decorator. Hence, you can use @conda_base to set packages required by all steps and use @conda to specify step-specific overrides.

Parameters

packages : Dict[str, str], default: {}

Packages to use for this step. The key is the name of the package