Skip to content

Commit 26695d3

Browse files
committed
fix lint
1 parent 2d47184 commit 26695d3

File tree

6 files changed

+21
-28
lines changed

6 files changed

+21
-28
lines changed

sdk/ai/azure-ai-agents/azure/ai/agents/_utils/model_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pylint: disable=line-too-long,useless-suppression,too-many-lines
21
# coding=utf-8
32
# --------------------------------------------------------------------------
43
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/ai/azure-ai-agents/azure/ai/agents/_utils/serialization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pylint: disable=line-too-long,useless-suppression,too-many-lines
21
# coding=utf-8
32
# --------------------------------------------------------------------------
43
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_operations.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pylint: disable=line-too-long,useless-suppression,too-many-lines
21
# coding=utf-8
32
# --------------------------------------------------------------------------
43
# Copyright (c) Microsoft Corporation. All rights reserved.

sdk/ai/azure-ai-agents/azure/ai/agents/models/_models.py

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pylint: disable=line-too-long,useless-suppression,too-many-lines
21
# coding=utf-8
32
# --------------------------------------------------------------------------
43
# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1102,22 +1101,21 @@ class BingGroundingSearchConfiguration(_Model):
11021101
listed in Market codes, Bing uses a best fit market code based on an internal mapping that is
11031102
subject to change.
11041103
:vartype market: str
1105-
:ivar set_lang: The language to use for user interface strings. You may specify the language
1104+
:ivar set_lang: The language to use for user interface strings. You may specify the language
11061105
using either a 2-letter or 4-letter code. Using 4-letter codes is preferred.
1107-
For a list of supported language codes, see `Bing supported languages
1106+
For a list of supported language codes, see `Bing supported languages
11081107
<https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/market-codes#bing-supported-language-codes>`_.
1109-
Bing loads the localized strings if this parameter contains a valid 2-letter neutral culture
1108+
Bing loads the localized strings if this parameter contains a valid 2-letter neutral culture
11101109
code (for example ``fr``) or a valid 4-letter specific culture code (``fr-ca``). For example,
11111110
for ``fr-ca``, Bing loads the ``fr`` neutral culture code strings.
1112-
If the parameter is not valid (for example, ``zh``) or Bing doesn’t support the language (for
1111+
If the parameter is not valid (for example, ``zh``) or Bing doesn’t support the language (for
11131112
example, ``af``, ``af-na``), Bing defaults to ``en`` (English).
1114-
To specify the 2-letter code, set this parameter to an ISO 639-1 language code.
1115-
To specify the 4-letter code, use the form ``<language>-<country/region>`` where
1116-
``<language>`` is an ISO 639-1 language code (neutral culture) and ``<country/region>`` is an
1117-
ISO 3166 country/region (specific culture) code. For example, use ``en-US`` for United States
1118-
English.
1119-
Although optional, you should always specify the language. Typically, you set this parameter
1120-
to the same language specified by the market value unless the user wants the user interface
1113+
To specify the 2-letter code, set this parameter to an ISO 639-1 language code.
1114+
To specify the 4-letter code, use the form ``<language>-<country/region>`` where ``<language>``
1115+
is an ISO 639-1 language code (neutral culture) and ``<country/region>`` is an ISO 3166
1116+
country/region (specific culture) code. For example, use ``en-US`` for United States English.
1117+
Although optional, you should always specify the language. Typically, you set this parameter to
1118+
the same language specified by the market value unless the user wants the user interface
11211119
strings displayed in a different language.
11221120
:vartype set_lang: str
11231121
:ivar count: The number of search results to return in the response. The default is 5 and the
@@ -1154,22 +1152,21 @@ class BingGroundingSearchConfiguration(_Model):
11541152
listed in Market codes, Bing uses a best fit market code based on an internal mapping that is
11551153
subject to change."""
11561154
set_lang: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"])
1157-
""" The language to use for user interface strings. You may specify the language using either a
1155+
"""The language to use for user interface strings. You may specify the language using either a
11581156
2-letter or 4-letter code. Using 4-letter codes is preferred.
1159-
For a list of supported language codes, see `Bing supported languages
1157+
For a list of supported language codes, see `Bing supported languages
11601158
<https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/market-codes#bing-supported-language-codes>`_.
1161-
Bing loads the localized strings if this parameter contains a valid 2-letter neutral culture
1159+
Bing loads the localized strings if this parameter contains a valid 2-letter neutral culture
11621160
code (for example ``fr``) or a valid 4-letter specific culture code (``fr-ca``). For example,
11631161
for ``fr-ca``, Bing loads the ``fr`` neutral culture code strings.
1164-
If the parameter is not valid (for example, ``zh``) or Bing doesn’t support the language (for
1162+
If the parameter is not valid (for example, ``zh``) or Bing doesn’t support the language (for
11651163
example, ``af``, ``af-na``), Bing defaults to ``en`` (English).
1166-
To specify the 2-letter code, set this parameter to an ISO 639-1 language code.
1167-
To specify the 4-letter code, use the form ``<language>-<country/region>`` where
1168-
``<language>`` is an ISO 639-1 language code (neutral culture) and ``<country/region>`` is an
1169-
ISO 3166 country/region (specific culture) code. For example, use ``en-US`` for United States
1170-
English.
1171-
Although optional, you should always specify the language. Typically, you set this parameter
1172-
to the same language specified by the market value unless the user wants the user interface
1164+
To specify the 2-letter code, set this parameter to an ISO 639-1 language code.
1165+
To specify the 4-letter code, use the form ``<language>-<country/region>`` where ``<language>``
1166+
is an ISO 639-1 language code (neutral culture) and ``<country/region>`` is an ISO 3166
1167+
country/region (specific culture) code. For example, use ``en-US`` for United States English.
1168+
Although optional, you should always specify the language. Typically, you set this parameter to
1169+
the same language specified by the market value unless the user wants the user interface
11731170
strings displayed in a different language."""
11741171
count: Optional[int] = rest_field(visibility=["read", "create", "update", "delete", "query"])
11751172
"""The number of search results to return in the response. The default is 5 and the maximum value

sdk/ai/azure-ai-agents/azure/ai/agents/operations/_operations.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pylint: disable=too-many-lines
21
# coding=utf-8
32
# --------------------------------------------------------------------------
43
# 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/ai/Azure.AI.Agents
2-
commit: aa038a6c949942bb3c1d425570294f6e9dbc28fb
2+
commit: 79479173c15b68431f01eb255a098a6e1de97ddb
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)