Skip to content

Commit

Permalink
CodeGen from PR 32939 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e33404d37170c8cee12ae0ea730fd1cbe1763700 into af57daeaf232c2a59bf4ba6a522479c265e2002e
  • Loading branch information
SDKAuto committed Mar 7, 2025
1 parent 8c14799 commit b4ea032
Show file tree
Hide file tree
Showing 10 changed files with 235 additions and 180 deletions.
4 changes: 2 additions & 2 deletions sdk/databasewatcher/azure-mgmt-databasewatcher/_meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "07da438f8dc690946b39511467744ed889434de5",
"commit": "a31f47c3a37a074d550e5647834b96fd74b67132",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/databasewatcher/DatabaseWatcher.Management",
"@azure-tools/typespec-python": "0.38.2"
"@azure-tools/typespec-python": "0.39.0"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=too-many-lines
# pylint: disable=line-too-long,useless-suppression,too-many-lines
# --------------------------------------------------------------------------
#
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -411,7 +411,7 @@ def from_dict(
:param function key_extractors: A key extractor function.
:param str content_type: JSON by default, set application/xml if XML.
:returns: An instance of this model
:raises: DeserializationError if something went wrong
:raises DeserializationError: if something went wrong
:rtype: Self
"""
deserializer = Deserializer(cls._infer_class_models())
Expand Down Expand Up @@ -1361,7 +1361,7 @@ def xml_key_extractor(attr, attr_desc, data): # pylint: disable=unused-argument
# Iter and wrapped, should have found one node only (the wrap one)
if len(children) != 1:
raise DeserializationError(
"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
"Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format(
xml_name
)
)
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=line-too-long,useless-suppression
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/databasewatcher/DatabaseWatcher.Management
commit: 07da438f8dc690946b39511467744ed889434de5
commit: a31f47c3a37a074d550e5647834b96fd74b67132
repo: Azure/azure-rest-api-specs
additionalDirectories:

0 comments on commit b4ea032

Please sign in to comment.