Skip to content

Commit ce738fc

Browse files
authored
version fix (Azure#23012)
* regen client * re-record tests
1 parent ced8877 commit ce738fc

23 files changed

+2911
-1082
lines changed

sdk/cognitivelanguage/azure-ai-language-questionanswering/azure/ai/language/questionanswering/projects/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# --------------------------------------------------------------------------
88

99
from ._question_answering_projects_client import QuestionAnsweringProjectsClient
10+
from ._version import VERSION
11+
12+
__version__ = VERSION
1013
__all__ = ['QuestionAnsweringProjectsClient']
1114

1215
# `._patch.py` is used for handwritten extensions to the generated code

sdk/cognitivelanguage/azure-ai-language-questionanswering/azure/ai/language/questionanswering/projects/_configuration.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,28 @@
1111
from azure.core.configuration import Configuration
1212
from azure.core.pipeline import policies
1313

14+
from ._version import VERSION
15+
1416
if TYPE_CHECKING:
1517
# pylint: disable=unused-import,ungrouped-imports
1618
from typing import Any
1719

1820
from azure.core.credentials import AzureKeyCredential
1921

20-
VERSION = "unknown"
2122

22-
class QuestionAnsweringProjectsClientConfiguration(Configuration):
23+
class QuestionAnsweringProjectsClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes
2324
"""Configuration for QuestionAnsweringProjectsClient.
2425
2526
Note that all parameters used to create this instance are saved as instance
2627
attributes.
2728
28-
:param endpoint: Supported Cognitive Services endpoint (e.g., https://:code:`<resource-name>`.api.cognitiveservices.azure.com).
29+
:param endpoint: Supported Cognitive Services endpoint (e.g.,
30+
https://:code:`<resource-name>`.api.cognitiveservices.azure.com).
2931
:type endpoint: str
3032
:param credential: Credential needed for the client to connect to Azure.
3133
:type credential: ~azure.core.credentials.AzureKeyCredential
32-
:keyword api_version: Api Version. The default value is "2021-10-01". Note that overriding this default value may result in unsupported behavior.
34+
:keyword api_version: Api Version. The default value is "2021-10-01". Note that overriding this
35+
default value may result in unsupported behavior.
3336
:paramtype api_version: str
3437
"""
3538

0 commit comments

Comments
 (0)