Skip to content

Commit e30952c

Browse files
author
SDKAuto
committed
CodeGen from PR 33214 in Azure/azure-rest-api-specs
Merge 375b577dd31a2f0fd321b08b4ce2aa7cece6f9c2 into 8056e0ba6bbe2f00ad0aca066236871ae5e04c23
1 parent c975ade commit e30952c

File tree

10 files changed

+235
-180
lines changed

10 files changed

+235
-180
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "07da438f8dc690946b39511467744ed889434de5",
2+
"commit": "69889f6a548cd6240eb67fe6ef7ad279f5cc6641",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/databasewatcher/DatabaseWatcher.Management",
5-
"@azure-tools/typespec-python": "0.38.2"
5+
"@azure-tools/typespec-python": "0.39.1"
66
}

sdk/databasewatcher/azure-mgmt-databasewatcher/azure/mgmt/databasewatcher/_serialization.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pylint: disable=too-many-lines
1+
# pylint: disable=line-too-long,useless-suppression,too-many-lines
22
# --------------------------------------------------------------------------
33
#
44
# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -411,7 +411,7 @@ def from_dict(
411411
:param function key_extractors: A key extractor function.
412412
:param str content_type: JSON by default, set application/xml if XML.
413413
:returns: An instance of this model
414-
:raises: DeserializationError if something went wrong
414+
:raises DeserializationError: if something went wrong
415415
:rtype: Self
416416
"""
417417
deserializer = Deserializer(cls._infer_class_models())
@@ -1361,7 +1361,7 @@ def xml_key_extractor(attr, attr_desc, data): # pylint: disable=unused-argument
13611361
# Iter and wrapped, should have found one node only (the wrap one)
13621362
if len(children) != 1:
13631363
raise DeserializationError(
1364-
"Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format( # pylint: disable=line-too-long
1364+
"Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format(
13651365
xml_name
13661366
)
13671367
)

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

Lines changed: 201 additions & 151 deletions
Large diffs are not rendered by default.

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

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

sdk/databasewatcher/azure-mgmt-databasewatcher/generated_samples/alert_rule_resources_create_or_update_maximum_set_gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=line-too-long,useless-suppression
12
# coding=utf-8
23
# --------------------------------------------------------------------------
34
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/databasewatcher/azure-mgmt-databasewatcher/generated_samples/shared_private_link_resources_create_maximum_set_gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=line-too-long,useless-suppression
12
# coding=utf-8
23
# --------------------------------------------------------------------------
34
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/databasewatcher/azure-mgmt-databasewatcher/generated_samples/targets_create_or_update_maximum_set_gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=line-too-long,useless-suppression
12
# coding=utf-8
23
# --------------------------------------------------------------------------
34
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/databasewatcher/azure-mgmt-databasewatcher/generated_samples/watchers_create_or_update_maximum_set_gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=line-too-long,useless-suppression
12
# coding=utf-8
23
# --------------------------------------------------------------------------
34
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/databasewatcher/azure-mgmt-databasewatcher/generated_samples/watchers_update_maximum_set_gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=line-too-long,useless-suppression
12
# coding=utf-8
23
# --------------------------------------------------------------------------
34
# Copyright (c) Microsoft Corporation. All rights reserved.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
directory: specification/databasewatcher/DatabaseWatcher.Management
2-
commit: 07da438f8dc690946b39511467744ed889434de5
2+
commit: 69889f6a548cd6240eb67fe6ef7ad279f5cc6641
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)