parameters file is no longer a requirement
This commit is contained in:
Родитель
67e8e9f65f
Коммит
2d8fbb955f
|
@ -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(
|
||||
|
|
Загрузка…
Ссылка в новой задаче