get_workspace

health.azure.get_workspace(aml_workspace, workspace_config_path)[source]

Obtain the AzureML workspace from either the passed in value or the passed in path.

Parameters
  • aml_workspace (Optional[Workspace]) – If provided this is returned as the AzureML Workspace

  • workspace_config_path (Optional[Path]) – If not provided with an AzureML Workspace, then load one given the information in this config

  • return – The AzureML Workspace

Return type

Workspace