From e6f239d7e641902a1c25e8ef9f384d35cda682cc Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 13 May 2025 11:35:27 +0000 Subject: [PATCH] CodeGen from PR 34270 in Azure/azure-rest-api-specs Merge c5c31b0506df39bc9e78f53a9678914719c1964d into a19648565889eaae019e531c15f3045d1244c7ce --- .../azure-mgmt-weightsandbiases/CHANGELOG.md | 6 ++++++ .../azure-mgmt-weightsandbiases/_meta.json | 4 ++-- .../mgmt/weightsandbiases/models/_models.py | 18 ++++++++---------- .../weightsandbiases/operations/_operations.py | 4 ++-- .../tsp-location.yaml | 2 +- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/CHANGELOG.md b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/CHANGELOG.md index f461947158e4..86b694391f78 100644 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/CHANGELOG.md +++ b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.0.0 (2025-05-13) + +### Features Added + + - 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])` + ## 1.0.0 (2025-05-12) ### Other Changes diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/_meta.json b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/_meta.json index 1e7baa5df0f3..0855d7970de4 100644 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/_meta.json +++ b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/_meta.json @@ -1,6 +1,6 @@ { - "commit": "a3baecd6571d7e4b979a7aef527d29a3509d4dc7", + "commit": "079f70d6f2b754db6b736e117196104efd2dd496", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management", - "@azure-tools/typespec-python": "0.44.1" + "@azure-tools/typespec-python": "0.44.2" } \ No newline at end of file diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/models/_models.py b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/models/_models.py index b745664416b7..fa18a7d15517 100644 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/models/_models.py +++ b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/models/_models.py @@ -62,8 +62,7 @@ class ErrorDetail(_Model): class ErrorResponse(_Model): - """Common error response for all Azure Resource Manager APIs to return error details for failed - operations. + """Error response. :ivar error: The error object. :vartype error: ~azure.mgmt.weightsandbiases.models.ErrorDetail @@ -148,7 +147,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Resource(_Model): - """Common fields that are returned in the response for all Azure Resource Manager resources. + """Resource. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. @@ -176,8 +175,7 @@ class Resource(_Model): class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource which - has 'tags' and a 'location'. + """Tracked Resource. :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. @@ -462,7 +460,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Operation(_Model): - """Details of a REST API operation, returned from the Resource Provider Operations API. + """REST API Operation. :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". @@ -714,16 +712,16 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserAssignedIdentity(_Model): """User assigned identity properties. - :ivar client_id: The client ID of the assigned identity. - :vartype client_id: str :ivar principal_id: The principal ID of the assigned identity. :vartype principal_id: str + :ivar client_id: The client ID of the assigned identity. + :vartype client_id: str """ - client_id: Optional[str] = rest_field(name="clientId", visibility=["read"]) - """The client ID of the assigned identity.""" principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"]) """The principal ID of the assigned identity.""" + client_id: Optional[str] = rest_field(name="clientId", visibility=["read"]) + """The client ID of the assigned identity.""" class UserDetails(_Model): diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/operations/_operations.py b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/operations/_operations.py index 616cf61c2075..49887ee86fe6 100644 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/operations/_operations.py +++ b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/azure/mgmt/weightsandbiases/operations/_operations.py @@ -245,7 +245,7 @@ class Operations: :attr:`operations` attribute. """ - def __init__(self, *args, **kwargs): + def __init__(self, *args, **kwargs) -> None: input_args = list(args) self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") self._config: WeightsAndBiasesMgmtClientConfiguration = ( @@ -348,7 +348,7 @@ class InstancesOperations: :attr:`instances` attribute. """ - def __init__(self, *args, **kwargs): + def __init__(self, *args, **kwargs) -> None: input_args = list(args) self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") self._config: WeightsAndBiasesMgmtClientConfiguration = ( diff --git a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/tsp-location.yaml b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/tsp-location.yaml index 10f50e510c9c..9be22b322145 100644 --- a/sdk/weightsandbiases/azure-mgmt-weightsandbiases/tsp-location.yaml +++ b/sdk/weightsandbiases/azure-mgmt-weightsandbiases/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management -commit: a3baecd6571d7e4b979a7aef527d29a3509d4dc7 +commit: 079f70d6f2b754db6b736e117196104efd2dd496 repo: Azure/azure-rest-api-specs additionalDirectories: