Skip to content

Commit 8d6cb3f

Browse files
author
SDKAuto
committed
CodeGen from PR 34270 in Azure/azure-rest-api-specs
Merge 447c4193246efcde66d0d0feaa59da2c756c794f into a19648565889eaae019e531c15f3045d1244c7ce
1 parent 6c30600 commit 8d6cb3f

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

sdk/weightsandbiases/azure-mgmt-weightsandbiases/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 1.0.0 (2025-05-13)
4+
5+
### Features Added
6+
7+
- Method `InstanceProperties.__init__` has a new overload `def __init__(self: None, marketplace: _models.MarketplaceDetails, user: _models.UserDetails, partner_properties: _models.PartnerProperties, single_sign_on_properties: Optional[_models.SingleSignOnPropertiesV2])`
8+
39
## 1.0.0 (2025-05-12)
410

511
### Other Changes
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "a3baecd6571d7e4b979a7aef527d29a3509d4dc7",
2+
"commit": "5ab69662eff4ee3c2bc93c2a4959470ab9867c99",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management",
5-
"@azure-tools/typespec-python": "0.44.1"
5+
"@azure-tools/typespec-python": "0.44.2"
66
}

sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/models/_models.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ class ErrorDetail(_Model):
6262

6363

6464
class ErrorResponse(_Model):
65-
"""Common error response for all Azure Resource Manager APIs to return error details for failed
66-
operations.
65+
"""Error response.
6766
6867
:ivar error: The error object.
6968
:vartype error: ~azure.mgmt.weightsandbiases.models.ErrorDetail
@@ -148,7 +147,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
148147

149148

150149
class Resource(_Model):
151-
"""Common fields that are returned in the response for all Azure Resource Manager resources.
150+
"""Resource.
152151
153152
:ivar id: Fully qualified resource ID for the resource. Ex -
154153
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
@@ -176,8 +175,7 @@ class Resource(_Model):
176175

177176

178177
class TrackedResource(Resource):
179-
"""The resource model definition for an Azure Resource Manager tracked top level resource which
180-
has 'tags' and a 'location'.
178+
"""Tracked Resource.
181179
182180
:ivar id: Fully qualified resource ID for the resource. Ex -
183181
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
@@ -462,7 +460,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
462460

463461

464462
class Operation(_Model):
465-
"""Details of a REST API operation, returned from the Resource Provider Operations API.
463+
"""REST API Operation.
466464
467465
:ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
468466
"Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
@@ -714,16 +712,16 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
714712
class UserAssignedIdentity(_Model):
715713
"""User assigned identity properties.
716714
717-
:ivar client_id: The client ID of the assigned identity.
718-
:vartype client_id: str
719715
:ivar principal_id: The principal ID of the assigned identity.
720716
:vartype principal_id: str
717+
:ivar client_id: The client ID of the assigned identity.
718+
:vartype client_id: str
721719
"""
722720

723-
client_id: Optional[str] = rest_field(name="clientId", visibility=["read"])
724-
"""The client ID of the assigned identity."""
725721
principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"])
726722
"""The principal ID of the assigned identity."""
723+
client_id: Optional[str] = rest_field(name="clientId", visibility=["read"])
724+
"""The client ID of the assigned identity."""
727725

728726

729727
class UserDetails(_Model):

sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/operations/_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class Operations:
245245
:attr:`operations` attribute.
246246
"""
247247

248-
def __init__(self, *args, **kwargs):
248+
def __init__(self, *args, **kwargs) -> None:
249249
input_args = list(args)
250250
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
251251
self._config: WeightsAndBiasesMgmtClientConfiguration = (
@@ -348,7 +348,7 @@ class InstancesOperations:
348348
:attr:`instances` attribute.
349349
"""
350350

351-
def __init__(self, *args, **kwargs):
351+
def __init__(self, *args, **kwargs) -> None:
352352
input_args = list(args)
353353
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
354354
self._config: WeightsAndBiasesMgmtClientConfiguration = (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
directory: specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management
2-
commit: a3baecd6571d7e4b979a7aef527d29a3509d4dc7
2+
commit: 5ab69662eff4ee3c2bc93c2a4959470ab9867c99
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)