We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea83b1a commit ceb44b8Copy full SHA for ceb44b8
ads/opctl/conda/cmds.py
@@ -146,6 +146,7 @@ def _create(
146
if not os.path.exists(env_file):
147
raise FileNotFoundError(f"Environment file {env_file} is not found.")
148
149
+ conda_dep = None
150
with open(env_file) as mfile:
151
conda_dep = yaml.safe_load(mfile.read())
152
# If manifest exists in the environment.yaml file, use that
@@ -193,7 +194,6 @@ def _create(
193
194
manifest["manifest"]["manifest_version"] = "1.0"
195
196
logger.info(f"Creating conda environment {slug}")
- conda_dep = None
197
conda_dep["manifest"] = manifest["manifest"]
198
199
if is_in_notebook_session() or NO_CONTAINER:
0 commit comments