Skip to content

Commit 3879818

Browse files
authored
1 parent 0a53443 commit 3879818

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

sdk/ml/azure-ai-ml/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
### Bugs Fixed
99
- #37464 - Allowing to update a component in register with anonymousEnvironment environment.
1010
- #39744 - Fixing a serialization issue in RecurrencePattern schedule.
11+
- #39793 - Fixing bug in AML OBO to work with KV secret client.
1112
- Fix environment archiving and restore
1213

1314
### Other Changes

sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2023_10_01/models/_azure_machine_learning_services_enums.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class ClassificationModels(str, Enum, metaclass=CaseInsensitiveEnumMeta):
205205
#: The goal is to create a model that predicts the value of a target variable by learning simple
206206
#: decision rules inferred from the data features."""
207207
RANDOM_FOREST = "RandomForest"
208-
"""Random forest is a supervised learning algorithm.
208+
r"""Random forest is a supervised learning algorithm.
209209
#: The "forest"\ it builds, is an ensemble of decision trees, usually trained with the “bagging”\
210210
#: method.
211211
#: The general idea of the bagging method is that a combination of learning models increases the
@@ -1324,7 +1324,7 @@ class RegressionModels(str, Enum, metaclass=CaseInsensitiveEnumMeta):
13241324
#: outputs.
13251325
#: It's an inexact but powerful technique."""
13261326
RANDOM_FOREST = "RandomForest"
1327-
"""Random forest is a supervised learning algorithm.
1327+
r"""Random forest is a supervised learning algorithm.
13281328
#: The "forest"\ it builds, is an ensemble of decision trees, usually trained with the “bagging”\
13291329
#: method.
13301330
#: The general idea of the bagging method is that a combination of learning models increases the

sdk/ml/azure-ai-ml/azure/ai/ml/_vendor/azure_resources/operations/_resources_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def list_by_resource_group(
6262
**kwargs # type: Any
6363
):
6464
# type: (...) -> Iterable["models.ResourceListResult"]
65-
"""Get all the resources for a resource group.
65+
r"""Get all the resources for a resource group.
6666
6767
:param resource_group_name: The resource group with the resources to get.
6868
:type resource_group_name: str
@@ -410,7 +410,7 @@ def list(
410410
**kwargs # type: Any
411411
):
412412
# type: (...) -> Iterable["models.ResourceListResult"]
413-
"""Get all the resources in a subscription.
413+
r"""Get all the resources in a subscription.
414414
415415
:param filter: The filter to apply on the operation.:code:`<br>`:code:`<br>`The properties you
416416
can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup,

sdk/ml/azure-ai-ml/azure/ai/ml/identity/_internal/managed_identity_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ def request_token(self, *scopes: str, **kwargs: Any) -> AccessToken:
119119
resource = _scopes_to_resource(*scopes)
120120
request = self._request_factory(resource)
121121
request_time = int(time.time())
122+
# https://github.com/Azure/azure-sdk-for-python/issues/39793
123+
# Remove unsupported parameters
124+
kwargs.pop("claims", None)
125+
kwargs.pop("tenant_id", None)
126+
kwargs.pop("enable_cae", None)
122127
response = self._pipeline.run(request, retry_on_methods=[request.method], **kwargs)
123128
token = self._process_response(response=response, request_time=request_time, resource=resource)
124129
return token

0 commit comments

Comments
 (0)