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 ae8f4f5 commit 015ef63Copy full SHA for 015ef63
ads/opctl/conda/cmds.py
@@ -176,14 +176,13 @@ def _create(
176
177
os.makedirs(pack_folder_path, exist_ok=True)
178
179
- if not manifest:
180
- manifest = _fetch_manifest_template()
181
- if not "name" in manifest:
+ manifest = _fetch_manifest_template()
+ if not "name" in conda_dep["manifest"]:
182
manifest["manifest"]["name"] = name
183
manifest["manifest"]["slug"] = slug
184
- if not "type" in manifest:
+ if not "type" in conda_dep["manifest"]:
185
manifest["manifest"]["type"] = "published"
186
- if not "version" in manifest:
+ if not "version" in conda_dep["manifest"]:
187
manifest["manifest"]["version"] = version
188
manifest["manifest"]["arch_type"] = "GPU" if gpu else "CPU"
189
0 commit comments