azure-ai-ml


Nameazure-ai-ml JSON
Version 1.23.0 PyPI version JSON
download
home_pagehttps://github.com/Azure/azure-sdk-for-python
SummaryMicrosoft Azure Machine Learning Client Library for Python
upload_time2024-12-16 09:37:53
maintainerNone
docs_urlNone
authorMicrosoft Corporation
requires_python>=3.7
licenseMIT License
keywords azure azure sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Azure ML Package client library for Python

We are excited to introduce the GA of Azure Machine Learning Python SDK v2. The Python SDK v2 introduces new SDK capabilities like standalone local jobs, reusable components for pipelines and managed online/batch inferencing. Python SDK v2 allows you to move from simple to complex tasks easily and incrementally. This is enabled by using a common object model which brings concept reuse and consistency of actions across various tasks. The SDK v2 shares its foundation with the CLI v2 which is also GA.

[Source code][source_code]
| [Package (PyPI)][ml_pypi]
| [Package (Conda)][ml_conda]
| [API reference documentation][ml_ref_docs]
| [Product documentation][product_documentation]
| [Samples][ml_samples]


This package has been tested with Python 3.8, 3.9, 3.10, 3.11 and 3.12.

For a more complete set of Azure libraries, see https://aka.ms/azsdk/python/all

## Getting started

### Prerequisites

- Python 3.7 or later is required to use this package.
- You must have an [Azure subscription][azure_subscription].
- An [Azure Machine Learning Workspace][workspace].

### Install the package

Install the Azure ML client library for Python with [pip][pip_link]:

```bash
pip install azure-ai-ml
pip install azure-identity
```

### Authenticate the client

```python
from azure.ai.ml import MLClient
from azure.identity import DefaultAzureCredential

ml_client = MLClient(
    DefaultAzureCredential(), subscription_id, resource_group, workspace
)
```

## Key concepts

Azure Machine Learning Python SDK v2 comes with many new features like standalone local jobs, reusable components for pipelines and managed online/batch inferencing. The SDK v2 brings consistency and ease of use across all assets of the platform. The Python SDK v2 offers the following capabilities:
* Run **Standalone Jobs** - run a discrete ML activity as Job. This job can be run locally or on the cloud. We currently support the following types of jobs:
  * Command - run a command (Python, R, Windows Command, Linux Shell etc.)
  * Sweep - run a hyperparameter sweep on your Command
* Run multiple jobs using our **improved Pipelines**
  * Run a series of commands stitched into a pipeline (**New**)
  * **Components** - run pipelines using reusable components (**New**)
* Use your models for **Managed Online inferencing** (**New**)
* Use your models for Managed **batch inferencing**
* Manage AML resources – workspace, compute, datastores
* Manage AML assets - Datasets, environments, models
* **AutoML** - run standalone AutoML training for various ml-tasks:
  - Classification (Tabular data)
  - Regression (Tabular data)
  - Time Series Forecasting (Tabular data)
  - Image Classification (Multi-class) (**New**)
  - Image Classification (Multi-label) (**New**)
  - Image Object Detection (**New**)
  - Image Instance Segmentation (**New**)
  - NLP Text Classification (Multi-class) (**New**)
  - NLP Text Classification (Multi-label) (**New**)
  - NLP Text Named Entity Recognition (NER) (**New**)

## Examples

- View our [samples][ml_samples].

## Troubleshooting

### General

Azure ML clients raise exceptions defined in [Azure Core][azure_core_readme].

```python
from azure.core.exceptions import HttpResponseError

try:
    ml_client.compute.get("cpu-cluster")
except HttpResponseError as error:
    print("Request failed: {}".format(error.message))
```

### Logging

This library uses the standard
[logging][python_logging] library for logging.
Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO
level.

Detailed DEBUG level logging, including request/response bodies and unredacted
headers, can be enabled on a client with the `logging_enable` argument.

See full SDK logging documentation with examples [here][sdk_logging_docs].

### Telemetry

The Azure ML Python SDK includes a telemetry feature that collects usage and failure data about the SDK and sends it to Microsoft when you use the SDK in a Jupyter Notebook only.
<u>Telemetry will **not** be collected for any use of the Python SDK outside of a Jupyter Notebook.</u>

Telemetry data helps the SDK team understand how the SDK is used so it can be improved and the information about failures helps the team resolve problems and fix bugs.
The SDK telemetry feature is enabled by default for Jupyter Notebook usage and cannot be enabled for non-Jupyter scenarios. To opt out of the telemetry feature in a Jupyter scenario, pass in `enable_telemetry=False` when constructing your MLClient object.

## Next steps

- View our [samples][ml_samples].

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla].

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments.

<!-- LINKS -->

[source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/ml/azure-ai-ml
[ml_pypi]: https://pypi.org/project/azure-ai-ml/
[ml_conda]: https://anaconda.org/microsoft/azure-ai-ml/
[ml_ref_docs]: https://learn.microsoft.com/python/api/azure-ai-ml/?view=azure-python
[ml_samples]: https://github.com/Azure/azureml-examples/tree/main/sdk/python
[product_documentation]: https://docs.microsoft.com/azure/machine-learning/
[azure_subscription]: https://azure.microsoft.com/free/
[workspace]: https://docs.microsoft.com/azure/machine-learning/concept-workspace
[python_logging]: https://docs.python.org/3/library/logging.html
[sdk_logging_docs]: https://docs.microsoft.com/azure/developer/python/azure-sdk-logging
[azure_core_readme]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/README.md
[pip_link]: https://pypi.org/project/pip/
[azure_core_ref_docs]: https://aka.ms/azsdk-python-core-policies
[azure_core]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/README.md
[azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity
[cla]: https://cla.microsoft.com
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
[coc_contact]: mailto:opencode@microsoft.com


# Release History
## 1.23.0 (2024-12-05)

### Features Added
  - Added support for IP-based access control to default and hub workspaces. 
  - Add support for additional include in spark component.
  - Adding enterprise agent feature for AI Hub and AI Project. Adding Create, Delete and Get operations.
  - Removing preview tag for following connections type
    - Azure AI Search
    - Azure AI Content Safety
    - Azure AI Speech
    - Azure Blob Storage
    - Microsoft OneLake

## 1.22.3 (2024-11-20)

### Bugs Fixed
  - Fix error message while resolving mlflow url in get workspace details

## 1.22.2 (2024-11-18)

### Bugs Fixed
  - **#3620407** - Fix Datastore credentials show up as NoneCredentials

## 1.22.1 (2024-11-13)


### Bugs Fixed
  - **#38493** - Fix error NoneType object is not subscriptable

## 1.22.0 (2024-11-11)

### Features Added
  - Added support to select firewall sku to used for provisioning azure firewall when FQDN rules are added in
  AllowOnlyApprovedOutbound mode. FirewallSku options are `Standard` or `Basic`, defaults to `Standard`
  - Update TLS version from 1.0 to 1.2
  - Added support for Distillation jobs. Can be created by importing `disillation` from `azure.ai.ml.model_customization`
  - Added Workspace property `ProvisionNetworkNow` to trigger the provisioning of the managed VNet with the default
    Options when creating a Workspace with the managed VNet enabled, or else it does nothing
### Bugs Fixed
  - Fix send email notification issue in model monitoring


## 1.21.1 (2024-10-21)


### Bugs Fixed

- **#37857** - Fix online deployment registry issue
  

## 1.21.0 (2024-09-30)

### Features Added

- Cross subscription storage account support for workspace and feature store. Developer can provide a storage account from another subscription while creating a workspace or storage account.

### Bugs Fixed

- #35820 - using compute location attribute to fill compute location to align the experience with UI.

## 1.20.0 (2024-09-10)

### Features Added

- When a workspace is created with `managed_network` enabled or has `public_network_access` set to disabled, the resources created with the workspace (Key Vault, Storage Account) will be set to have restricted network access settings. This is only applicable when the user does not specify existing resources.
- Added support of `fqdns` property for managed network `PrivateEndpointDestination` outbound rule objects. Enabling the support of Application Gateway as a Private Endpoint target in the workspace managed network.
- Added support of `address_prefixes` property for managed network `ServiceTagDestination` outbound rule objects.
- Removed experimental tag from `managed_network` which is a GA feature.

## 1.19.0 (2024-07-29)

### Feature Added

- Added enable_sso operation under compute operation that will allow user to enable sso setting of a compute instance without any write permission set on compute.

### Bugs Fixed

- Workspace update no longer broken for older workspaces due to deprecated tags.
- Support credential-less fileshare datastore

## 1.18.0 (2024-07-09)

### Features Added

- Expose `public_ip_address` in `AmlComputeNodeInfo`, to get the public ip address with the ssh port when calling `ml_client.compute.list_nodes`
- Uploads to account key access datastores will be authorized via a SAS token retrieved from a call to `DatastoreOperations._list_secrets`. Key-based authentication for uploads for such datastores is no longer used. Identity-based datastores will use user identity authentication retrieved from the MLClient.
- Support `update_sso_settings` in `ComputeOperations`, to enable or disable single sign-on settings of a compute instance.

### Bugs Fixed

- InputTypes exported in constants module
- WorkspaceConnection tags are now listed as deprecated, and the erroneously-deprecated metadata field has been un-deprecated and added as a initialization field. These two fields still point to the same underlying object property, and actual API usage of this value is unchanged.
- Workspace Create operation works without an application insights being provided, and creates a default appIn resource for normal workspaces in that case.
- Project create operations works in general.

### Other Changes

- WorkspaceConnections are officially GA'd and no longer experimental. But its much newer subclasses remain experimental.

## 1.17.1 (2024-07-04)

### Bugs Fixed

- Workspace Create operation works without an application insights being provided, and creates a default appIn resource for normal workspaces in that case.
- Project create operations works in general.

## 1.17.0 (2024-06-18)

## 1.16.0 (2024-05-14)

### Features Added

- Add experimental support for working with Promptflow evaluators: `ml_client.evaluators`.
- Many changes to the Connection entity class and its associated operations.
- Workspace Connection `list`, `get`, and `create_or_update` operations now include an optional `populate_secrets` input, which causes the operations to try making a secondary call to fill in the returned connections' credential info if possible. Only works with api key-based credentials for now.
- Many workspace connection subtypes added. The full list of subclasses is now:
  - `AzureBlobStoreConnection`
  - `AzureBlobStoreConnection`
  - `MicrosoftOneLakeConnection`
  - `AzureOpenAIConnection`
  - `AzureAIServicesConnection`
  - `AzureAISearchConnection`
  - `AzureContentSafetyConnection`
  - `AzureSpeechServicesConnection`
  - `APIKeyConnection`
  - `OpenAIConnection`
  - `SerpConnection`
  - `ServerlessConnection`
- Many workspace connections only accept api keys or entra ids for credentials. Since Entra IDs require not inputs, these have been refactored to not required a full credential object. Instead they only accept an api_key as a top-level input, and default to an entra credential otherwise. Their YAML schemas have been similarly altered.
- Client-side credential-type validation added for some workspace connection types.
- Added new credential type: `AadCredentialConfiguration`
- Renamed WorkspaceHub class as Hub.
- Added Project entity class and YAML support.
- Project and Hub operations supported by workspace operations.
- workspace list operation supports type filtering.
- Add support for Microsoft Entra token (`aad_token`) auth in `invoke` and `get-credentials` operations.
- Add experimental support for working with indexes: `ml_client.indexes`

### Bugs Fixed

### Breaking Changes

- Removed WorkspaceHubConfig entity, and renamed WorkspaceHub to Hub.
- workspace_hub input of Workspace class hidden, renamed to hub_id, and re-surfaced in child class Project.
- Removed Workspace Hub Operations from ML Client.

### Other Changes

## 1.15.0 (2024-03-26)

### Other Changes

- The following classes will still be able to be imported from `azure.ai.ml`, but the import is deprecated and emits a warning. Instead, please import them from `azure.ai.ml.entities`.
  - `AmlTokenConfiguration`
  - `ManagedIdentityConfiguration`
  - `UserIdentityConfiguration`
- The following classes will still be able to be imported from `azure.ai.ml.entities`, but the import is deprecated and emits a warning. Instead, please import them from `azure.ai.ml.sweep`.
  - `Choice`
  - `Uniform`
  - `LogUniform`
  - `QLogUniform`
  - `QUniform`
  - `QLogNormal`
  - `QNormal`
  - `LogNormal`
  - `Normal`
  - `Randint`

## 1.14.0 (2024-03-11)

### Features Added

- Remove `experimental` tag for  `ml_client.jobs.validate`.
- Workspace Connection has new read-only subclass: AzureBlobStoreWorkspaceConnectionSchema.
- Workspace Connection supports 2 new types under main class: gen 2 and azure_one_lake.
- Workspace Connection LIST operation can return data connections via new optional flag: include_data_connections.
- Support `ml_client.schedules.trigger(name='my_schedule')` function to trigger a schedule once.

### Bugs Fixed

- Fix pipeline job `outputs` not load correctly when `component: <local-file>` exists in pipeline job yaml.
- Workspace ListKey operation serialization issue fixed.
- Workspace Diagnose result now can be print in to Json format.

### Breaking Changes

### Other Changes

- Support for Python 3.12

## 1.13.0 (2024-01-29)

### Features Added

### Bugs Fixed

### Breaking Changes

### Other Changes

## 1.12.0 (2023-11-13)

### Features Added

- Workspace Connections had 3 child classes added for open AI, cog search, and cog service connections.
- Workspace Connections replaced metadata with tags, and surfaced api_version, api_type, and kind for certain connection types.

### Bugs Fixed

- Workspace Hubs now properly create various endpoints, and surface a variable to select the resource they connect to via the
  'endpoint_resource_id' kwarg.

### Breaking Changes

### Other Changes

## 1.11.1 (2023-10-13)

### Bugs Fixed

- pydash dependency version was upgraded to >=6.0.0 to patch [security vulnerability in versions below 6.0.0](https://github.com/advisories/GHSA-8mjr-6c96-39w8)
- Workspace hub deletion no longer fails if delete_dependent_resources is true.

## 1.11.0 (2023-10-04)

### Features Added

- Now, when you specify `delete_dependent_resources` as True when deleting a workspace, the log analytics resource
  associated with the workspace application insights resource will also be deleted.
- Now, when creating or updating a workspace, you can provide a `serverless_compute` configuration object. This allows configuring a custom subnet in which all Serverless computes will be created. You can also specify whether or not these Serverless computes will have public IP addresses or not.

### Breaking Changes

- [Python 3.7 reached end-of-life on June 27th 2023](https://devguide.python.org/versions/). Consequently, 3.7 will be deprecated in azure-ai-ml starting in October 2023 and azure-ai-ml will end support for 3.7 in February 2024.

## 1.10.1 (2023-09-17)

### Bugs Fixed

- Feature sets can now be registers after being dumped and reloaded.
- SDK feature store create/update can now assign materialization identities to cross RG offline stores and online stores.

## 1.10.0 (2023-09-07)

### Features Added

- Added support of features that are known into the future/at forecast time for dnn in AutoML Forecasting jobs.
- Added support for new workspace connection types: azure_open_ai, cognitive_search, and cognitive_service.
- Added support for new credential type: ApiKeyConfiguration.
- Added support of `download` for component operations.

### Bugs Fixed

- Local job runs will no longer fail if Docker registry has no username/password
- Fixed an issue that code asset doesn't work with relative symbol links.
- Fixed [Issue 31319](https://github.com/Azure/azure-sdk-for-python/issues/31319): can't accept `PathLike` for `CommandComponent.code`.

### Other Changes

- `azure-ai-ml` now performs all file i/o on `utf-8` encoded files per Azure SDK guidance.
  (instead of the default behavior for python < 3.15, which uses locale specific encodings)
- Removed references to deprecated "feature_store" workspace connection type.

## 1.9.0 (2023-07-25)

### Features Added

- Added support to enable gpu access (local_enable_gpu) for local deployment.

### Other Changes

- Improved the output when printing a workspace object to be more clean and readable.
- Log level of unknown field notifications for pipeline nodes raised from INFO to WARNING.

## 1.8.0 (2023-06-12)

### Features Added

- Added support to enable set workspace connection secret expiry time.
- Added support for `stage` on model version

### Bugs Fixed

- Fixed an issue affecting authentication to registry-related services in sovereign regions.
- Made job_tier and priority values case insensitive

## 1.7.2 (2023-05-18)

### Features Added

- Public preview support for new schedule type `MonitorSchedule`

## 1.7.1 (2023-05-17)

### Bugs Fixed

- Fixed an issue where `OnlineDeployment.provisioning_state` was incorrectly deserialized and set as `None`

## 1.7.0 (2023-05-15)

### Features Added

- Added data import schedule. The class added is `ImportDataSchedule`.
- Added support to enable data isolation feature at workspace creation stage.
- Added auto_delete_setting support for asset version in data import job.
- Switched code snapshot upload from directory-based to container-based design in order to allow finer RBAC within workspaces. A container will be created for each new snapshot. This change does not affect storage costs or snapshot functionality.

### Bugs Fixed

### Breaking Changes

### Other Changes

## 1.6.0 (2023-05-01)

### Features Added

- Added experimental scatter gather node to DSL package. This node has a unique mldesigner dependency.
- Added support to make JobService and ServiceInstance objects serializable when printed
- Support Singularity compute in pipeline job
- Added purge operation support for workspace resource
- Added Feature Store, its dedicated classes and updated the docstrings, now available in public interface. The classes added are `FeatureStoreOperations, FeatureSetOperations, FeatureStoreEntityOperations` with properties classes specific to the new features.
- Support additional_includes in command component
- Added experimental `distribution: ray` support in command job.

### Bugs Fixed

- Fixed issue where show_progress=False was not being respected for uploads when set via MLClient
- Fixed issue of spark input/output mode validation doesn't take effect because of wrong type assertion
- Fixed the bug when setting `node.limits.timeout` to a pipeline input.
- Removed Experimental Tag from Idle Shutdown, Custom Applications, Setup Scripts, and Image Metadata on Compute Instances.
- Removed Experimental Tag from JobService classes

### Breaking Changes

- Renamed `JobServiceBase.job_service_type` to `type`

### Other Changes

- Remove the default placeholder for CommandComponent.code

## 1.5.0 (2023-03-20)

### Features Added

- Added support for `tags` on Compute Resources.
- Added support for promoting data asset from a workspace to a registry
- Added support for registering named asset from job output or node output by specifying name and version settings.
- Added support for data binding on outputs inside dynamic arguments for dsl pipeline
- Added support for serverless compute in pipeline, command, automl and sweep job
- Added support for `job_tier` and `priority` in standalone job
- Added support for passing `locations` via command function and set it to `JobResourceConfiguration.locations`
- Added support for modifying SSH key values after creation on Compute Resources.
- Added WorkspaceConnection types `s3`, `snowflake`, `azure_sql_db`, `azure_synapse_analytics`, `azure_my_sql_db`, `azure_postgres_db`
- Added WorkspaceConnection auth type `access_key` for `s3`
- Added DataImport class and DataOperations.import_data.
- Added DataOperations.list_materialization_status - list status of data import jobs that create asset versions via asset name.

### Bugs Fixed

- Fix experiment name wrongly set to 'Default' when schedule existing job.
- Error message improvement when a local path fails to match with data asset type.
- Error message improvement when an asset does not exist in a registry
- Fix an issue when submit spark pipeline job with referring a registered component
- Fix an issue that prevented Job.download from downloading the output of a BatchJob

### Other Changes

- Added dependency on `azure-mgmt-resource`
- Added dependency on `azure-mgmt-resourcegraph`
- Added dependency on `opencensus-ext-azure<2.0.0`
- Update job types to use MFE Dec preview rest objects.
- Added classifiers for Python version 3.11.
- Added warning for reserved keywords in IO names in pipeline job nodes.
- Added telemetry logging for SDK Jupyter Notebook scenarios with opt-out option (see README.md)

## 1.4.0 (2023-02-07)

### Features Added

- Added dedicated classes for each type of job service and updated the docstrings. The classes added are `JupyterLabJobService, SshJobService, TensorBoardJobService, VsCodeJobService` with a few properties specific to the type.
- Added Custom Applications Support to Compute Instances.
- Update data asset list, show and create operations to support data assets in registry.
- Added Managed Network features to workspace to include `ManagedNetwork`, `FqdnDestination`, `PrivateEndpointDestination`, `ServiceTagDestination` as well as relevant schema.

### Bugs Fixed

- Fixed an issue where the ordering of `.amlignore` and `.gitignore` files are not respected.
- Fixed an issue that attributes with a value of `False` in `PipelineJobSettings` are not respected.
- Fixed an issue where ignore files weren't considered during upload directory size calculations.
- Fixed an issue where symlinks crashed upload directory size calculations.
- Fixes a bug where enable_node_public_ip returned an improper value when fetching a Compute.

### Other Changes

- Update workspace creation to use Log Analytics-Based Application Insights when the user does not specify/bring their own App Insights.
- Upgraded minimum azure-core version to 1.23.0.

## 1.3.0 (2023-01-13)

### Features Added

- Change print behavior of entity classes to show object yaml in notebooks, can be configured on in other contexts.
- Added property to enable/disable public ip addresses to Compute Instances and AML Computes.
- `Deployment` and `ScheduleOperations` added to public interface.

### Bugs Fixed

- Fixed issue with date-time format for utc_time_created field when creating models.
- Added stricter behavior for ArmStr schemas when parsing 'azureml:' prefix.
- Fixed issue where AmlComputes could only be created in a workspace's default region.
- Improved intellisense with VS Code for fields supporting local paths and datastores.
- Added validation for token generation with aml scope when user_identity is used in job definition aka OBO flow.
- Fixed duplicate node name error in pipeline when two node names assigned to the same node and get renamed by node.name='xx'.
- Resolve the cross references for MLClient, Resource and OnlineDeployment.
- Explicit use of Optional (or a Union with None), as per PEP 484.
- Fixed print on Command objects when job id is empty
- Fixed issue where `SasTokenConfiguration` cannot be used as credential for `WorkspaceConnection`

### Other Changes

- Removed dependency on API version 2021-10-01 and 2022-06-01-preview to reduce side of azure-ai-ml package.

## 1.2.0 (2022-12-05)

### Breaking Changes

- Removed description from Registry.
- Disable sdk telemetry logging

### Features Added

- Enable updating the CMK encryption key (workspace.encryption.keyVaultProperties.keyIdentifier) for a workspace.
- Mark JobService class and services param to command() as experimental.
- Added a replication_count value to the schema of SystemCreatedStorageAccount in Registry.
- Added support for Fairfax and MoonCake cloud for the registry discovery baseurl.
- Added support for variable args as pipeline input in DSL Pipeline.
- Added OS Patching Parameters to Compute Instance.

### Bugs Fixed

- Update the upper bound dependencies version for tqdm, strictyaml, colorama and opencensus-ext-azure.
- Added missing "properties" to batch deployment.
- Retain the cases for the names of system job services (Tracking and Studio).
- Update registry begin_delete method return type.
- Fixed sweep job optional input cannot be empty.
- Fixed bool test for output in download operation.
- Fixed Compute Instance schedule not being created
- Removed erroneous experimental warning from Compute Schedules

## 1.1.2 (2022-11-21)

### Features Added

- Restored idle_time_before_shutdown property for Compute Instances.
- Deprecated idle_time_before_shutdown property in favor of idle_time_before_shutdown_minutes.

### Bugs Fixed

- Fixed idle_time_before_shutdown appearing as None for Compute Instances returned by `show` or `list`.
- Fixed idle_time_before_shutdown_minutes preventing creation of Compute Instances when set to None.

## 1.1.1 (2022-11-15)

### Breaking Changes

- Renamed idle_time_before_shutdown to idle_time_before_shutdown_minutes and changed input type to int.

### Bugs Fixed

- Fixed idle_time_before_shutdown_minutes not appearing in GET calls for Compute Instances.

## 1.1.0 (2022-11-07)

### Features Added

- Registry list operation now accepts scope value to allow subscription-only based requests.
- Most configuration classes from the entity package now implement the standard mapping protocol.
- Add registry delete operation.
- The values of JobService.job_service_type are now using the snake case. e.g jupyter_lab, ssh, tensor_board, vs_code.
- Command function now accepts services param of type Dict[str, JobService] instead of dict.

### Bugs Fixed

- MLClient.from_config can now find the default config.json on Compute Instance when running sample notebooks.
- Fixed job inputs not accepting datastores or job inputs.
- Registries now assign managed tags to match registry's tags.
- Adjust registry experimental tags and imports to avoid warning printouts for unrelated operations.
- Make registry delete operation return an LROPoller, and change name to begin_delete.
- Prevent registering an already existing environment that references conda file.
- Fix ARM ID logic for registry environments (ex: Creating a registry component that references a registry environment).
- Fix ARM ID logic for passing models and environments with ID (ex: Creating endpoint deployment for a registry model should return said model's ID immediately)

### Other Changes

- Switched compute operations to go through 2022-10-01-preview API version.

## 1.0.0 (2022-10-10)

- GA release
- Dropped support for Python 3.6. The Python versions supported for this release are 3.7-3.10.

### Features Added

### Breaking Changes

- OnlineDeploymentOperations.delete has been renamed to begin_delete.
- Datastore credentials are switched to use unified credential configuration classes.
- UserAssignedIdentity is replaced by ManagedIdentityConfiguration
- Endpoint and Job use unified identity classes.
- Workspace ManagedServiceIdentity has been replaced by IdentityConfiguration.

### Other Changes

- Switched Compute operations to use Oct preview API version.
- Updated batch deployment/endpoint invoke and list-jobs function signatures with curated BatchJob class.

## 0.1.0b8 (2022-10-07)

### Features Added

- Support passing JobService as argument to Command()
- Added support for custom setup scripts on compute instances.
- Added a `show_progress` parameter to MLClient for enable/disable progress bars of long running operations.
- Support `month_days` in `RecurrencePattern` when using `RecurrenceSchedule`.
- Support `ml_client.schedules.list` with `list_view_type`, default to `ENABLED_ONLY`.
- Add support for model sweeping and hyperparameter tuning in AutoML NLP jobs.
- Added `ml_client.jobs.show_services()` operation.

### Breaking Changes

- ComputeOperations.attach has been renamed to begin_attach.
- Deprecated parameter path has been removed from load and dump methods.
- JobOperations.cancel() is renamed to JobOperations.begin_cancel() and it returns LROPoller
- Workspace.list_keys renamed to Workspace.get_keys.

### Bugs Fixed

- Fix identity passthrough job with single file code
- MLClient.from_config can now find the default config.json on Compute Instance when running sample notebooks.

### Other Changes

- Removed declaration on Python 3.6 support
- Added support for custom setup scripts on compute instances.
- Updated dependencies upper bounds to be major versions.

## 0.1.0b7 (2022-09-22)

### Features Added

- Spark job submission.
- Command and sweep job docker config (shmSize and dockerArgs) spec support.
- Entity load and dump now also accept a file pointer as input.
- Load and dump input names changed from path to 'source' and 'dest', respectively.
- Load and dump 'path' input still works, but is deprecated and emits a warning.
- Managed Identity Support for Compute Instance (experimental).
- Enable using @dsl.pipeline without brackets when no additional parameters.
- Expose Azure subscription Id and resource group name from MLClient objects.
- Added Idle Shutdown support for Compute Instances, allowing instances to shutdown after a set period of inactivity.
- Online Deployment Data Collection for eventhub and data storage will be supported.
- Syntax validation on scoring scripts of Batch Deployment and Online Deployment will prevent the user from submitting bad deployments.

### Breaking Changes

- Change (begin_)create_or_update typehints to use generics.
- Remove invalid option from create_or_update typehints.
- Change error returned by (begin_)create_or_update invalid input to TypeError.
- Rename set_image_model APIs for all vision tasks to set_training_parameters
- JobOperations.download defaults to "." instead of Path.cwd()

### Bugs Fixed

### Other Changes

- Show 'properties' on data assets

## 0.1.0b6 (2022-08-09)

### Features Added

- Support for AutoML Component
- Added skip_validation for Job/Component create_or_update

### Breaking Changes

- Dataset removed from public interface.

### Bugs Fixed

- Fixed mismatch errors when updating scale_settings for KubernetesOnlineDeployment.
- Removed az CLI command that was printed when deleting OnlineEndpoint

## 0.1.0b5 (2022-07-15)

### Features Added

- Allow Input/Output objects to be used by CommandComponent.
- Added MoonCake cloud support.
- Unified inputs/outputs building and validation logic in BaseNode.
- Allow Git repo URLs to be used as code for jobs and components.
- Updated AutoML YAML schema to use InputSchema.
- Added end_time to job schedule.
- MIR and pipeline job now support registry assets.

### Bugs Fixed

- Have mldesigner use argparser to parse incoming args.
- Bumped pyjwt version to <3.0.0.
- Reverted "upload support for symlinks".
- Error message improvement when a YAML UnionField fails to match.
- Reintroduced support for symlinks when uploading.
- Hard coded registry base URL to eastus region to support preview.

## 0.1.0b4 (2022-06-16)

## 0.1.0b3 (2022-05-24)

### Features Added

- First preview.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Azure/azure-sdk-for-python",
    "name": "azure-ai-ml",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "azure, azure sdk",
    "author": "Microsoft Corporation",
    "author_email": "azuresdkengsysadmins@microsoft.com",
    "download_url": "https://files.pythonhosted.org/packages/ea/62/3a85cf6db23520e33aebdcad05a232906486e69f1ba8b67464ca01f24949/azure_ai_ml-1.23.0.tar.gz",
    "platform": null,
    "description": "# Azure ML Package client library for Python\n\nWe are excited to introduce the GA of Azure Machine Learning Python SDK v2. The Python SDK v2 introduces new SDK capabilities like standalone local jobs, reusable components for pipelines and managed online/batch inferencing. Python SDK v2 allows you to move from simple to complex tasks easily and incrementally. This is enabled by using a common object model which brings concept reuse and consistency of actions across various tasks. The SDK v2 shares its foundation with the CLI v2 which is also GA.\n\n[Source code][source_code]\n| [Package (PyPI)][ml_pypi]\n| [Package (Conda)][ml_conda]\n| [API reference documentation][ml_ref_docs]\n| [Product documentation][product_documentation]\n| [Samples][ml_samples]\n\n\nThis package has been tested with Python 3.8, 3.9, 3.10, 3.11 and 3.12.\n\nFor a more complete set of Azure libraries, see https://aka.ms/azsdk/python/all\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.7 or later is required to use this package.\n- You must have an [Azure subscription][azure_subscription].\n- An [Azure Machine Learning Workspace][workspace].\n\n### Install the package\n\nInstall the Azure ML client library for Python with [pip][pip_link]:\n\n```bash\npip install azure-ai-ml\npip install azure-identity\n```\n\n### Authenticate the client\n\n```python\nfrom azure.ai.ml import MLClient\nfrom azure.identity import DefaultAzureCredential\n\nml_client = MLClient(\n    DefaultAzureCredential(), subscription_id, resource_group, workspace\n)\n```\n\n## Key concepts\n\nAzure Machine Learning Python SDK v2 comes with many new features like standalone local jobs, reusable components for pipelines and managed online/batch inferencing. The SDK v2 brings consistency and ease of use across all assets of the platform. The Python SDK v2 offers the following capabilities:\n* Run **Standalone Jobs** - run a discrete ML activity as Job. This job can be run locally or on the cloud. We currently support the following types of jobs:\n  * Command - run a command (Python, R, Windows Command, Linux Shell etc.)\n  * Sweep - run a hyperparameter sweep on your Command\n* Run multiple jobs using our **improved Pipelines**\n  * Run a series of commands stitched into a pipeline (**New**)\n  * **Components** - run pipelines using reusable components (**New**)\n* Use your models for **Managed Online inferencing** (**New**)\n* Use your models for Managed **batch inferencing**\n* Manage AML resources \u2013 workspace, compute, datastores\n* Manage AML assets - Datasets, environments, models\n* **AutoML** - run standalone AutoML training for various ml-tasks:\n  - Classification (Tabular data)\n  - Regression (Tabular data)\n  - Time Series Forecasting (Tabular data)\n  - Image Classification (Multi-class) (**New**)\n  - Image Classification (Multi-label) (**New**)\n  - Image Object Detection (**New**)\n  - Image Instance Segmentation (**New**)\n  - NLP Text Classification (Multi-class) (**New**)\n  - NLP Text Classification (Multi-label) (**New**)\n  - NLP Text Named Entity Recognition (NER) (**New**)\n\n## Examples\n\n- View our [samples][ml_samples].\n\n## Troubleshooting\n\n### General\n\nAzure ML clients raise exceptions defined in [Azure Core][azure_core_readme].\n\n```python\nfrom azure.core.exceptions import HttpResponseError\n\ntry:\n    ml_client.compute.get(\"cpu-cluster\")\nexcept HttpResponseError as error:\n    print(\"Request failed: {}\".format(error.message))\n```\n\n### Logging\n\nThis library uses the standard\n[logging][python_logging] library for logging.\nBasic information about HTTP sessions (URLs, headers, etc.) is logged at INFO\nlevel.\n\nDetailed DEBUG level logging, including request/response bodies and unredacted\nheaders, can be enabled on a client with the `logging_enable` argument.\n\nSee full SDK logging documentation with examples [here][sdk_logging_docs].\n\n### Telemetry\n\nThe Azure ML Python SDK includes a telemetry feature that collects usage and failure data about the SDK and sends it to Microsoft when you use the SDK in a Jupyter Notebook only.\n<u>Telemetry will **not** be collected for any use of the Python SDK outside of a Jupyter Notebook.</u>\n\nTelemetry data helps the SDK team understand how the SDK is used so it can be improved and the information about failures helps the team resolve problems and fix bugs.\nThe SDK telemetry feature is enabled by default for Jupyter Notebook usage and cannot be enabled for non-Jupyter scenarios. To opt out of the telemetry feature in a Jupyter scenario, pass in `enable_telemetry=False` when constructing your MLClient object.\n\n## Next steps\n\n- View our [samples][ml_samples].\n\n## Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla].\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments.\n\n<!-- LINKS -->\n\n[source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/ml/azure-ai-ml\n[ml_pypi]: https://pypi.org/project/azure-ai-ml/\n[ml_conda]: https://anaconda.org/microsoft/azure-ai-ml/\n[ml_ref_docs]: https://learn.microsoft.com/python/api/azure-ai-ml/?view=azure-python\n[ml_samples]: https://github.com/Azure/azureml-examples/tree/main/sdk/python\n[product_documentation]: https://docs.microsoft.com/azure/machine-learning/\n[azure_subscription]: https://azure.microsoft.com/free/\n[workspace]: https://docs.microsoft.com/azure/machine-learning/concept-workspace\n[python_logging]: https://docs.python.org/3/library/logging.html\n[sdk_logging_docs]: https://docs.microsoft.com/azure/developer/python/azure-sdk-logging\n[azure_core_readme]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/README.md\n[pip_link]: https://pypi.org/project/pip/\n[azure_core_ref_docs]: https://aka.ms/azsdk-python-core-policies\n[azure_core]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/README.md\n[azure_identity]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity\n[cla]: https://cla.microsoft.com\n[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/\n[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/\n[coc_contact]: mailto:opencode@microsoft.com\n\n\n# Release History\n## 1.23.0 (2024-12-05)\n\n### Features Added\n  - Added support for IP-based access control to default and hub workspaces. \n  - Add support for additional include in spark component.\n  - Adding enterprise agent feature for AI Hub and AI Project. Adding Create, Delete and Get operations.\n  - Removing preview tag for following connections type\n    - Azure AI Search\n    - Azure AI Content Safety\n    - Azure AI Speech\n    - Azure Blob Storage\n    - Microsoft OneLake\n\n## 1.22.3 (2024-11-20)\n\n### Bugs Fixed\n  - Fix error message while resolving mlflow url in get workspace details\n\n## 1.22.2 (2024-11-18)\n\n### Bugs Fixed\n  - **#3620407** - Fix Datastore credentials show up as NoneCredentials\n\n## 1.22.1 (2024-11-13)\n\n\n### Bugs Fixed\n  - **#38493** - Fix error NoneType object is not subscriptable\n\n## 1.22.0 (2024-11-11)\n\n### Features Added\n  - Added support to select firewall sku to used for provisioning azure firewall when FQDN rules are added in\n  AllowOnlyApprovedOutbound mode. FirewallSku options are `Standard` or `Basic`, defaults to `Standard`\n  - Update TLS version from 1.0 to 1.2\n  - Added support for Distillation jobs. Can be created by importing `disillation` from `azure.ai.ml.model_customization`\n  - Added Workspace property `ProvisionNetworkNow` to trigger the provisioning of the managed VNet with the default\n    Options when creating a Workspace with the managed VNet enabled, or else it does nothing\n### Bugs Fixed\n  - Fix send email notification issue in model monitoring\n\n\n## 1.21.1 (2024-10-21)\n\n\n### Bugs Fixed\n\n- **#37857** - Fix online deployment registry issue\n  \n\n## 1.21.0 (2024-09-30)\n\n### Features Added\n\n- Cross subscription storage account support for workspace and feature store. Developer can provide a storage account from another subscription while creating a workspace or storage account.\n\n### Bugs Fixed\n\n- #35820 - using compute location attribute to fill compute location to align the experience with UI.\n\n## 1.20.0 (2024-09-10)\n\n### Features Added\n\n- When a workspace is created with `managed_network` enabled or has `public_network_access` set to disabled, the resources created with the workspace (Key Vault, Storage Account) will be set to have restricted network access settings. This is only applicable when the user does not specify existing resources.\n- Added support of `fqdns` property for managed network `PrivateEndpointDestination` outbound rule objects. Enabling the support of Application Gateway as a Private Endpoint target in the workspace managed network.\n- Added support of `address_prefixes` property for managed network `ServiceTagDestination` outbound rule objects.\n- Removed experimental tag from `managed_network` which is a GA feature.\n\n## 1.19.0 (2024-07-29)\n\n### Feature Added\n\n- Added enable_sso operation under compute operation that will allow user to enable sso setting of a compute instance without any write permission set on compute.\n\n### Bugs Fixed\n\n- Workspace update no longer broken for older workspaces due to deprecated tags.\n- Support credential-less fileshare datastore\n\n## 1.18.0 (2024-07-09)\n\n### Features Added\n\n- Expose `public_ip_address` in `AmlComputeNodeInfo`, to get the public ip address with the ssh port when calling `ml_client.compute.list_nodes`\n- Uploads to account key access datastores will be authorized via a SAS token retrieved from a call to `DatastoreOperations._list_secrets`. Key-based authentication for uploads for such datastores is no longer used. Identity-based datastores will use user identity authentication retrieved from the MLClient.\n- Support `update_sso_settings` in `ComputeOperations`, to enable or disable single sign-on settings of a compute instance.\n\n### Bugs Fixed\n\n- InputTypes exported in constants module\n- WorkspaceConnection tags are now listed as deprecated, and the erroneously-deprecated metadata field has been un-deprecated and added as a initialization field. These two fields still point to the same underlying object property, and actual API usage of this value is unchanged.\n- Workspace Create operation works without an application insights being provided, and creates a default appIn resource for normal workspaces in that case.\n- Project create operations works in general.\n\n### Other Changes\n\n- WorkspaceConnections are officially GA'd and no longer experimental. But its much newer subclasses remain experimental.\n\n## 1.17.1 (2024-07-04)\n\n### Bugs Fixed\n\n- Workspace Create operation works without an application insights being provided, and creates a default appIn resource for normal workspaces in that case.\n- Project create operations works in general.\n\n## 1.17.0 (2024-06-18)\n\n## 1.16.0 (2024-05-14)\n\n### Features Added\n\n- Add experimental support for working with Promptflow evaluators: `ml_client.evaluators`.\n- Many changes to the Connection entity class and its associated operations.\n- Workspace Connection `list`, `get`, and `create_or_update` operations now include an optional `populate_secrets` input, which causes the operations to try making a secondary call to fill in the returned connections' credential info if possible. Only works with api key-based credentials for now.\n- Many workspace connection subtypes added. The full list of subclasses is now:\n  - `AzureBlobStoreConnection`\n  - `AzureBlobStoreConnection`\n  - `MicrosoftOneLakeConnection`\n  - `AzureOpenAIConnection`\n  - `AzureAIServicesConnection`\n  - `AzureAISearchConnection`\n  - `AzureContentSafetyConnection`\n  - `AzureSpeechServicesConnection`\n  - `APIKeyConnection`\n  - `OpenAIConnection`\n  - `SerpConnection`\n  - `ServerlessConnection`\n- Many workspace connections only accept api keys or entra ids for credentials. Since Entra IDs require not inputs, these have been refactored to not required a full credential object. Instead they only accept an api_key as a top-level input, and default to an entra credential otherwise. Their YAML schemas have been similarly altered.\n- Client-side credential-type validation added for some workspace connection types.\n- Added new credential type: `AadCredentialConfiguration`\n- Renamed WorkspaceHub class as Hub.\n- Added Project entity class and YAML support.\n- Project and Hub operations supported by workspace operations.\n- workspace list operation supports type filtering.\n- Add support for Microsoft Entra token (`aad_token`) auth in `invoke` and `get-credentials` operations.\n- Add experimental support for working with indexes: `ml_client.indexes`\n\n### Bugs Fixed\n\n### Breaking Changes\n\n- Removed WorkspaceHubConfig entity, and renamed WorkspaceHub to Hub.\n- workspace_hub input of Workspace class hidden, renamed to hub_id, and re-surfaced in child class Project.\n- Removed Workspace Hub Operations from ML Client.\n\n### Other Changes\n\n## 1.15.0 (2024-03-26)\n\n### Other Changes\n\n- The following classes will still be able to be imported from `azure.ai.ml`, but the import is deprecated and emits a warning. Instead, please import them from `azure.ai.ml.entities`.\n  - `AmlTokenConfiguration`\n  - `ManagedIdentityConfiguration`\n  - `UserIdentityConfiguration`\n- The following classes will still be able to be imported from `azure.ai.ml.entities`, but the import is deprecated and emits a warning. Instead, please import them from `azure.ai.ml.sweep`.\n  - `Choice`\n  - `Uniform`\n  - `LogUniform`\n  - `QLogUniform`\n  - `QUniform`\n  - `QLogNormal`\n  - `QNormal`\n  - `LogNormal`\n  - `Normal`\n  - `Randint`\n\n## 1.14.0 (2024-03-11)\n\n### Features Added\n\n- Remove `experimental` tag for  `ml_client.jobs.validate`.\n- Workspace Connection has new read-only subclass: AzureBlobStoreWorkspaceConnectionSchema.\n- Workspace Connection supports 2 new types under main class: gen 2 and azure_one_lake.\n- Workspace Connection LIST operation can return data connections via new optional flag: include_data_connections.\n- Support `ml_client.schedules.trigger(name='my_schedule')` function to trigger a schedule once.\n\n### Bugs Fixed\n\n- Fix pipeline job `outputs` not load correctly when `component: <local-file>` exists in pipeline job yaml.\n- Workspace ListKey operation serialization issue fixed.\n- Workspace Diagnose result now can be print in to Json format.\n\n### Breaking Changes\n\n### Other Changes\n\n- Support for Python 3.12\n\n## 1.13.0 (2024-01-29)\n\n### Features Added\n\n### Bugs Fixed\n\n### Breaking Changes\n\n### Other Changes\n\n## 1.12.0 (2023-11-13)\n\n### Features Added\n\n- Workspace Connections had 3 child classes added for open AI, cog search, and cog service connections.\n- Workspace Connections replaced metadata with tags, and surfaced api_version, api_type, and kind for certain connection types.\n\n### Bugs Fixed\n\n- Workspace Hubs now properly create various endpoints, and surface a variable to select the resource they connect to via the\n  'endpoint_resource_id' kwarg.\n\n### Breaking Changes\n\n### Other Changes\n\n## 1.11.1 (2023-10-13)\n\n### Bugs Fixed\n\n- pydash dependency version was upgraded to >=6.0.0 to patch [security vulnerability in versions below 6.0.0](https://github.com/advisories/GHSA-8mjr-6c96-39w8)\n- Workspace hub deletion no longer fails if delete_dependent_resources is true.\n\n## 1.11.0 (2023-10-04)\n\n### Features Added\n\n- Now, when you specify `delete_dependent_resources` as True when deleting a workspace, the log analytics resource\n  associated with the workspace application insights resource will also be deleted.\n- Now, when creating or updating a workspace, you can provide a `serverless_compute` configuration object. This allows configuring a custom subnet in which all Serverless computes will be created. You can also specify whether or not these Serverless computes will have public IP addresses or not.\n\n### Breaking Changes\n\n- [Python 3.7 reached end-of-life on June 27th 2023](https://devguide.python.org/versions/). Consequently, 3.7 will be deprecated in azure-ai-ml starting in October 2023 and azure-ai-ml will end support for 3.7 in February 2024.\n\n## 1.10.1 (2023-09-17)\n\n### Bugs Fixed\n\n- Feature sets can now be registers after being dumped and reloaded.\n- SDK feature store create/update can now assign materialization identities to cross RG offline stores and online stores.\n\n## 1.10.0 (2023-09-07)\n\n### Features Added\n\n- Added support of features that are known into the future/at forecast time for dnn in AutoML Forecasting jobs.\n- Added support for new workspace connection types: azure_open_ai, cognitive_search, and cognitive_service.\n- Added support for new credential type: ApiKeyConfiguration.\n- Added support of `download` for component operations.\n\n### Bugs Fixed\n\n- Local job runs will no longer fail if Docker registry has no username/password\n- Fixed an issue that code asset doesn't work with relative symbol links.\n- Fixed [Issue 31319](https://github.com/Azure/azure-sdk-for-python/issues/31319): can't accept `PathLike` for `CommandComponent.code`.\n\n### Other Changes\n\n- `azure-ai-ml` now performs all file i/o on `utf-8` encoded files per Azure SDK guidance.\n  (instead of the default behavior for python < 3.15, which uses locale specific encodings)\n- Removed references to deprecated \"feature_store\" workspace connection type.\n\n## 1.9.0 (2023-07-25)\n\n### Features Added\n\n- Added support to enable gpu access (local_enable_gpu) for local deployment.\n\n### Other Changes\n\n- Improved the output when printing a workspace object to be more clean and readable.\n- Log level of unknown field notifications for pipeline nodes raised from INFO to WARNING.\n\n## 1.8.0 (2023-06-12)\n\n### Features Added\n\n- Added support to enable set workspace connection secret expiry time.\n- Added support for `stage` on model version\n\n### Bugs Fixed\n\n- Fixed an issue affecting authentication to registry-related services in sovereign regions.\n- Made job_tier and priority values case insensitive\n\n## 1.7.2 (2023-05-18)\n\n### Features Added\n\n- Public preview support for new schedule type `MonitorSchedule`\n\n## 1.7.1 (2023-05-17)\n\n### Bugs Fixed\n\n- Fixed an issue where `OnlineDeployment.provisioning_state` was incorrectly deserialized and set as `None`\n\n## 1.7.0 (2023-05-15)\n\n### Features Added\n\n- Added data import schedule. The class added is `ImportDataSchedule`.\n- Added support to enable data isolation feature at workspace creation stage.\n- Added auto_delete_setting support for asset version in data import job.\n- Switched code snapshot upload from directory-based to container-based design in order to allow finer RBAC within workspaces. A container will be created for each new snapshot. This change does not affect storage costs or snapshot functionality.\n\n### Bugs Fixed\n\n### Breaking Changes\n\n### Other Changes\n\n## 1.6.0 (2023-05-01)\n\n### Features Added\n\n- Added experimental scatter gather node to DSL package. This node has a unique mldesigner dependency.\n- Added support to make JobService and ServiceInstance objects serializable when printed\n- Support Singularity compute in pipeline job\n- Added purge operation support for workspace resource\n- Added Feature Store, its dedicated classes and updated the docstrings, now available in public interface. The classes added are `FeatureStoreOperations, FeatureSetOperations, FeatureStoreEntityOperations` with properties classes specific to the new features.\n- Support additional_includes in command component\n- Added experimental `distribution: ray` support in command job.\n\n### Bugs Fixed\n\n- Fixed issue where show_progress=False was not being respected for uploads when set via MLClient\n- Fixed issue of spark input/output mode validation doesn't take effect because of wrong type assertion\n- Fixed the bug when setting `node.limits.timeout` to a pipeline input.\n- Removed Experimental Tag from Idle Shutdown, Custom Applications, Setup Scripts, and Image Metadata on Compute Instances.\n- Removed Experimental Tag from JobService classes\n\n### Breaking Changes\n\n- Renamed `JobServiceBase.job_service_type` to `type`\n\n### Other Changes\n\n- Remove the default placeholder for CommandComponent.code\n\n## 1.5.0 (2023-03-20)\n\n### Features Added\n\n- Added support for `tags` on Compute Resources.\n- Added support for promoting data asset from a workspace to a registry\n- Added support for registering named asset from job output or node output by specifying name and version settings.\n- Added support for data binding on outputs inside dynamic arguments for dsl pipeline\n- Added support for serverless compute in pipeline, command, automl and sweep job\n- Added support for `job_tier` and `priority` in standalone job\n- Added support for passing `locations` via command function and set it to `JobResourceConfiguration.locations`\n- Added support for modifying SSH key values after creation on Compute Resources.\n- Added WorkspaceConnection types `s3`, `snowflake`, `azure_sql_db`, `azure_synapse_analytics`, `azure_my_sql_db`, `azure_postgres_db`\n- Added WorkspaceConnection auth type `access_key` for `s3`\n- Added DataImport class and DataOperations.import_data.\n- Added DataOperations.list_materialization_status - list status of data import jobs that create asset versions via asset name.\n\n### Bugs Fixed\n\n- Fix experiment name wrongly set to 'Default' when schedule existing job.\n- Error message improvement when a local path fails to match with data asset type.\n- Error message improvement when an asset does not exist in a registry\n- Fix an issue when submit spark pipeline job with referring a registered component\n- Fix an issue that prevented Job.download from downloading the output of a BatchJob\n\n### Other Changes\n\n- Added dependency on `azure-mgmt-resource`\n- Added dependency on `azure-mgmt-resourcegraph`\n- Added dependency on `opencensus-ext-azure<2.0.0`\n- Update job types to use MFE Dec preview rest objects.\n- Added classifiers for Python version 3.11.\n- Added warning for reserved keywords in IO names in pipeline job nodes.\n- Added telemetry logging for SDK Jupyter Notebook scenarios with opt-out option (see README.md)\n\n## 1.4.0 (2023-02-07)\n\n### Features Added\n\n- Added dedicated classes for each type of job service and updated the docstrings. The classes added are `JupyterLabJobService, SshJobService, TensorBoardJobService, VsCodeJobService` with a few properties specific to the type.\n- Added Custom Applications Support to Compute Instances.\n- Update data asset list, show and create operations to support data assets in registry.\n- Added Managed Network features to workspace to include `ManagedNetwork`, `FqdnDestination`, `PrivateEndpointDestination`, `ServiceTagDestination` as well as relevant schema.\n\n### Bugs Fixed\n\n- Fixed an issue where the ordering of `.amlignore` and `.gitignore` files are not respected.\n- Fixed an issue that attributes with a value of `False` in `PipelineJobSettings` are not respected.\n- Fixed an issue where ignore files weren't considered during upload directory size calculations.\n- Fixed an issue where symlinks crashed upload directory size calculations.\n- Fixes a bug where enable_node_public_ip returned an improper value when fetching a Compute.\n\n### Other Changes\n\n- Update workspace creation to use Log Analytics-Based Application Insights when the user does not specify/bring their own App Insights.\n- Upgraded minimum azure-core version to 1.23.0.\n\n## 1.3.0 (2023-01-13)\n\n### Features Added\n\n- Change print behavior of entity classes to show object yaml in notebooks, can be configured on in other contexts.\n- Added property to enable/disable public ip addresses to Compute Instances and AML Computes.\n- `Deployment` and `ScheduleOperations` added to public interface.\n\n### Bugs Fixed\n\n- Fixed issue with date-time format for utc_time_created field when creating models.\n- Added stricter behavior for ArmStr schemas when parsing 'azureml:' prefix.\n- Fixed issue where AmlComputes could only be created in a workspace's default region.\n- Improved intellisense with VS Code for fields supporting local paths and datastores.\n- Added validation for token generation with aml scope when user_identity is used in job definition aka OBO flow.\n- Fixed duplicate node name error in pipeline when two node names assigned to the same node and get renamed by node.name='xx'.\n- Resolve the cross references for MLClient, Resource and OnlineDeployment.\n- Explicit use of Optional (or a Union with None), as per PEP 484.\n- Fixed print on Command objects when job id is empty\n- Fixed issue where `SasTokenConfiguration` cannot be used as credential for `WorkspaceConnection`\n\n### Other Changes\n\n- Removed dependency on API version 2021-10-01 and 2022-06-01-preview to reduce side of azure-ai-ml package.\n\n## 1.2.0 (2022-12-05)\n\n### Breaking Changes\n\n- Removed description from Registry.\n- Disable sdk telemetry logging\n\n### Features Added\n\n- Enable updating the CMK encryption key (workspace.encryption.keyVaultProperties.keyIdentifier) for a workspace.\n- Mark JobService class and services param to command() as experimental.\n- Added a replication_count value to the schema of SystemCreatedStorageAccount in Registry.\n- Added support for Fairfax and MoonCake cloud for the registry discovery baseurl.\n- Added support for variable args as pipeline input in DSL Pipeline.\n- Added OS Patching Parameters to Compute Instance.\n\n### Bugs Fixed\n\n- Update the upper bound dependencies version for tqdm, strictyaml, colorama and opencensus-ext-azure.\n- Added missing \"properties\" to batch deployment.\n- Retain the cases for the names of system job services (Tracking and Studio).\n- Update registry begin_delete method return type.\n- Fixed sweep job optional input cannot be empty.\n- Fixed bool test for output in download operation.\n- Fixed Compute Instance schedule not being created\n- Removed erroneous experimental warning from Compute Schedules\n\n## 1.1.2 (2022-11-21)\n\n### Features Added\n\n- Restored idle_time_before_shutdown property for Compute Instances.\n- Deprecated idle_time_before_shutdown property in favor of idle_time_before_shutdown_minutes.\n\n### Bugs Fixed\n\n- Fixed idle_time_before_shutdown appearing as None for Compute Instances returned by `show` or `list`.\n- Fixed idle_time_before_shutdown_minutes preventing creation of Compute Instances when set to None.\n\n## 1.1.1 (2022-11-15)\n\n### Breaking Changes\n\n- Renamed idle_time_before_shutdown to idle_time_before_shutdown_minutes and changed input type to int.\n\n### Bugs Fixed\n\n- Fixed idle_time_before_shutdown_minutes not appearing in GET calls for Compute Instances.\n\n## 1.1.0 (2022-11-07)\n\n### Features Added\n\n- Registry list operation now accepts scope value to allow subscription-only based requests.\n- Most configuration classes from the entity package now implement the standard mapping protocol.\n- Add registry delete operation.\n- The values of JobService.job_service_type are now using the snake case. e.g jupyter_lab, ssh, tensor_board, vs_code.\n- Command function now accepts services param of type Dict[str, JobService] instead of dict.\n\n### Bugs Fixed\n\n- MLClient.from_config can now find the default config.json on Compute Instance when running sample notebooks.\n- Fixed job inputs not accepting datastores or job inputs.\n- Registries now assign managed tags to match registry's tags.\n- Adjust registry experimental tags and imports to avoid warning printouts for unrelated operations.\n- Make registry delete operation return an LROPoller, and change name to begin_delete.\n- Prevent registering an already existing environment that references conda file.\n- Fix ARM ID logic for registry environments (ex: Creating a registry component that references a registry environment).\n- Fix ARM ID logic for passing models and environments with ID (ex: Creating endpoint deployment for a registry model should return said model's ID immediately)\n\n### Other Changes\n\n- Switched compute operations to go through 2022-10-01-preview API version.\n\n## 1.0.0 (2022-10-10)\n\n- GA release\n- Dropped support for Python 3.6. The Python versions supported for this release are 3.7-3.10.\n\n### Features Added\n\n### Breaking Changes\n\n- OnlineDeploymentOperations.delete has been renamed to begin_delete.\n- Datastore credentials are switched to use unified credential configuration classes.\n- UserAssignedIdentity is replaced by ManagedIdentityConfiguration\n- Endpoint and Job use unified identity classes.\n- Workspace ManagedServiceIdentity has been replaced by IdentityConfiguration.\n\n### Other Changes\n\n- Switched Compute operations to use Oct preview API version.\n- Updated batch deployment/endpoint invoke and list-jobs function signatures with curated BatchJob class.\n\n## 0.1.0b8 (2022-10-07)\n\n### Features Added\n\n- Support passing JobService as argument to Command()\n- Added support for custom setup scripts on compute instances.\n- Added a `show_progress` parameter to MLClient for enable/disable progress bars of long running operations.\n- Support `month_days` in `RecurrencePattern` when using `RecurrenceSchedule`.\n- Support `ml_client.schedules.list` with `list_view_type`, default to `ENABLED_ONLY`.\n- Add support for model sweeping and hyperparameter tuning in AutoML NLP jobs.\n- Added `ml_client.jobs.show_services()` operation.\n\n### Breaking Changes\n\n- ComputeOperations.attach has been renamed to begin_attach.\n- Deprecated parameter path has been removed from load and dump methods.\n- JobOperations.cancel() is renamed to JobOperations.begin_cancel() and it returns LROPoller\n- Workspace.list_keys renamed to Workspace.get_keys.\n\n### Bugs Fixed\n\n- Fix identity passthrough job with single file code\n- MLClient.from_config can now find the default config.json on Compute Instance when running sample notebooks.\n\n### Other Changes\n\n- Removed declaration on Python 3.6 support\n- Added support for custom setup scripts on compute instances.\n- Updated dependencies upper bounds to be major versions.\n\n## 0.1.0b7 (2022-09-22)\n\n### Features Added\n\n- Spark job submission.\n- Command and sweep job docker config (shmSize and dockerArgs) spec support.\n- Entity load and dump now also accept a file pointer as input.\n- Load and dump input names changed from path to 'source' and 'dest', respectively.\n- Load and dump 'path' input still works, but is deprecated and emits a warning.\n- Managed Identity Support for Compute Instance (experimental).\n- Enable using @dsl.pipeline without brackets when no additional parameters.\n- Expose Azure subscription Id and resource group name from MLClient objects.\n- Added Idle Shutdown support for Compute Instances, allowing instances to shutdown after a set period of inactivity.\n- Online Deployment Data Collection for eventhub and data storage will be supported.\n- Syntax validation on scoring scripts of Batch Deployment and Online Deployment will prevent the user from submitting bad deployments.\n\n### Breaking Changes\n\n- Change (begin_)create_or_update typehints to use generics.\n- Remove invalid option from create_or_update typehints.\n- Change error returned by (begin_)create_or_update invalid input to TypeError.\n- Rename set_image_model APIs for all vision tasks to set_training_parameters\n- JobOperations.download defaults to \".\" instead of Path.cwd()\n\n### Bugs Fixed\n\n### Other Changes\n\n- Show 'properties' on data assets\n\n## 0.1.0b6 (2022-08-09)\n\n### Features Added\n\n- Support for AutoML Component\n- Added skip_validation for Job/Component create_or_update\n\n### Breaking Changes\n\n- Dataset removed from public interface.\n\n### Bugs Fixed\n\n- Fixed mismatch errors when updating scale_settings for KubernetesOnlineDeployment.\n- Removed az CLI command that was printed when deleting OnlineEndpoint\n\n## 0.1.0b5 (2022-07-15)\n\n### Features Added\n\n- Allow Input/Output objects to be used by CommandComponent.\n- Added MoonCake cloud support.\n- Unified inputs/outputs building and validation logic in BaseNode.\n- Allow Git repo URLs to be used as code for jobs and components.\n- Updated AutoML YAML schema to use InputSchema.\n- Added end_time to job schedule.\n- MIR and pipeline job now support registry assets.\n\n### Bugs Fixed\n\n- Have mldesigner use argparser to parse incoming args.\n- Bumped pyjwt version to <3.0.0.\n- Reverted \"upload support for symlinks\".\n- Error message improvement when a YAML UnionField fails to match.\n- Reintroduced support for symlinks when uploading.\n- Hard coded registry base URL to eastus region to support preview.\n\n## 0.1.0b4 (2022-06-16)\n\n## 0.1.0b3 (2022-05-24)\n\n### Features Added\n\n- First preview.\n\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Microsoft Azure Machine Learning Client Library for Python",
    "version": "1.23.0",
    "project_urls": {
        "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues",
        "Homepage": "https://github.com/Azure/azure-sdk-for-python",
        "Source": "https://github.com/Azure/azure-sdk-for-python"
    },
    "split_keywords": [
        "azure",
        " azure sdk"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "88a16d4a6bc0cfe2b90790bde98d8fdccc766799a1dd783a5f90d998470756af",
                "md5": "617df8fd83e33273fd3df112c41fb0c2",
                "sha256": "f7ea5abf412bc1eeb934fb579b6825633cc7460a188f96135baa878c6414b5d4"
            },
            "downloads": -1,
            "filename": "azure_ai_ml-1.23.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "617df8fd83e33273fd3df112c41fb0c2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 12290145,
            "upload_time": "2024-12-16T09:37:58",
            "upload_time_iso_8601": "2024-12-16T09:37:58.946742Z",
            "url": "https://files.pythonhosted.org/packages/88/a1/6d4a6bc0cfe2b90790bde98d8fdccc766799a1dd783a5f90d998470756af/azure_ai_ml-1.23.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ea623a85cf6db23520e33aebdcad05a232906486e69f1ba8b67464ca01f24949",
                "md5": "4a91b2d5444853c55a3b5c850a265ab7",
                "sha256": "d40f8017b8930c8e0a694af7fd481980f123267f9f54161fe4f7c33d6f92a44c"
            },
            "downloads": -1,
            "filename": "azure_ai_ml-1.23.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4a91b2d5444853c55a3b5c850a265ab7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 8855742,
            "upload_time": "2024-12-16T09:37:53",
            "upload_time_iso_8601": "2024-12-16T09:37:53.980473Z",
            "url": "https://files.pythonhosted.org/packages/ea/62/3a85cf6db23520e33aebdcad05a232906486e69f1ba8b67464ca01f24949/azure_ai_ml-1.23.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-16 09:37:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Azure",
    "github_project": "azure-sdk-for-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "azure-ai-ml"
}
        
Elapsed time: 1.31136s