Fix pipeline crash when repo is set to a directory

This commit is contained in:
clearml 2024-12-03 10:01:04 +02:00
parent 01af13a294
commit 0efdd35b00

View File

@ -231,7 +231,7 @@ class CreateAndPopulate(object):
repo_info.script["diff"] = a_repo_info.script["diff"] or ""
repo_info.script["entry_point"] = a_repo_info.script["entry_point"]
if a_create_requirements:
repo_info["requirements"] = a_repo_info.script.get("requirements") or {}
repo_info.script["requirements"] = a_repo_info.script.get("requirements") or {}
# check if we have no repository and no requirements raise error
if (