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 :type aml_workspace: Optional[Workspace] :param aml_workspace: If provided this is returned as the AzureML Workspace :type workspace_config_path: Optional[Path] :param workspace_config_path: If not provided with an AzureML Workspace, then load one given the information in this

config

Parameters

return – The AzureML Workspace

Return type

Workspace