parameters file is no longer a requirement

This commit is contained in:
Marvin Buss 2020-03-29 15:26:08 +02:00
Родитель 67e8e9f65f
Коммит 2d8fbb955f
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -54,9 +54,9 @@ def main():
with open(parameters_file_path) as f:
parameters = json.load(f)
except FileNotFoundError:
print(f"::error::Could not find parameter file in {parameters_file_path}. Please provide a parameter file in your repository (e.g. .ml/.azure/workspace.json).")
raise AMLConfigurationException(f"Could not find parameter file in {parameters_file_path}. Please provide a parameter file in your repository (e.g. .ml/.azure/workspace.json).")
print(f"::debug::Could not find parameter file in {parameters_file_path}. Please provide a parameter file in your repository if you do not want to use default settings (e.g. .ml/.azure/workspace.json).")
parameters = {}
# Loading Workspace
print("::debug::Loading AML Workspace")
sp_auth = ServicePrincipalAuthentication(