Skip to content

Commit 0bc29bb

Browse files
[textanalytics] v3.1 preview.5 generation (Azure#18330)
* regenerate on v3.1-preview.5 * regen with logging_opt_out default boolean swagger fix * correcting references to enum value * add recordings (minus healthcare and few skipped analyze)
1 parent 567a408 commit 0bc29bb

File tree

532 files changed

+5410
-12965
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

532 files changed

+5410
-12965
lines changed

sdk/textanalytics/azure-ai-textanalytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ This table shows the relationship between SDK versions and supported API version
8181
| SDK version | Supported API version of service |
8282
| ------------------------------------------------------------------------- | --------------------------------- |
8383
| 5.0.0 - Latest GA release (can be installed by removing the `--pre` flag) | 3.0 |
84-
| 5.1.0b6 - Latest release (beta) | 3.0, 3.1-preview.4 |
84+
| 5.1.0b7 - Latest release (beta) | 3.0, 3.1-preview.5 |
8585

8686
### Authenticate the client
8787

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
HealthcareEntityAssertion,
5050
)
5151
from ._paging import AnalyzeHealthcareEntitiesResult
52-
from ._generated.v3_1_preview_4.models import (
52+
from ._generated.v3_1_preview_5.models import (
5353
PiiCategory as PiiEntityCategoryType,
5454
RelationType as HealthcareEntityRelationType
5555
)

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_async_lro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, *args, **kwargs):
8585

8686
@property
8787
def _current_body(self):
88-
from ._generated.v3_1_preview_4.models import JobMetadata
88+
from ._generated.v3_1_preview_5.models import JobMetadata
8989
return JobMetadata.deserialize(self._pipeline_response)
9090

9191
@property
@@ -170,7 +170,7 @@ class AsyncAnalyzeBatchActionsLROPollingMethod(TextAnalyticsAsyncLROPollingMetho
170170

171171
@property
172172
def _current_body(self):
173-
from ._generated.v3_1_preview_4.models import AnalyzeJobMetadata
173+
from ._generated.v3_1_preview_5.models import AnalyzeJobMetadata
174174
return AnalyzeJobMetadata.deserialize(self._pipeline_response)
175175

176176
@property

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TextAnalyticsApiVersion(str, Enum):
1414
"""Text Analytics API versions supported by this package"""
1515

1616
#: this is the default version
17-
V3_1_PREVIEW = "v3.1-preview.4"
17+
V3_1_PREVIEW = "v3.1-preview.5"
1818
V3_0 = "v3.0"
1919

2020
def _authentication_policy(credential):

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py

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

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def __init__(
7474
):
7575
if api_version == 'v3.0':
7676
base_url = '{Endpoint}/text/analytics/v3.0'
77-
elif api_version == 'v3.1-preview.4':
78-
base_url = '{Endpoint}/text/analytics/v3.1-preview.4'
77+
elif api_version == 'v3.1-preview.5':
78+
base_url = '{Endpoint}/text/analytics/v3.1-preview.5'
7979
else:
8080
raise ValueError("API version {} is not available".format(api_version))
8181
self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs)
@@ -94,13 +94,13 @@ def models(cls, api_version=DEFAULT_API_VERSION):
9494
"""Module depends on the API version:
9595
9696
* v3.0: :mod:`v3_0.models<azure.ai.textanalytics.v3_0.models>`
97-
* v3.1-preview.4: :mod:`v3_1_preview_4.models<azure.ai.textanalytics.v3_1_preview_4.models>`
97+
* v3.1-preview.5: :mod:`v3_1_preview_5.models<azure.ai.textanalytics.v3_1_preview_5.models>`
9898
"""
9999
if api_version == 'v3.0':
100100
from .v3_0 import models
101101
return models
102-
elif api_version == 'v3.1-preview.4':
103-
from .v3_1_preview_4 import models
102+
elif api_version == 'v3.1-preview.5':
103+
from .v3_1_preview_5 import models
104104
return models
105105
raise ValueError("API version {} is not available".format(api_version))
106106

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py

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

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def __init__(
7272
) -> None:
7373
if api_version == 'v3.0':
7474
base_url = '{Endpoint}/text/analytics/v3.0'
75-
elif api_version == 'v3.1-preview.4':
76-
base_url = '{Endpoint}/text/analytics/v3.1-preview.4'
75+
elif api_version == 'v3.1-preview.5':
76+
base_url = '{Endpoint}/text/analytics/v3.1-preview.5'
7777
else:
7878
raise ValueError("API version {} is not available".format(api_version))
7979
self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs)
@@ -92,13 +92,13 @@ def models(cls, api_version=DEFAULT_API_VERSION):
9292
"""Module depends on the API version:
9393
9494
* v3.0: :mod:`v3_0.models<azure.ai.textanalytics.v3_0.models>`
95-
* v3.1-preview.4: :mod:`v3_1_preview_4.models<azure.ai.textanalytics.v3_1_preview_4.models>`
95+
* v3.1-preview.5: :mod:`v3_1_preview_5.models<azure.ai.textanalytics.v3_1_preview_5.models>`
9696
"""
9797
if api_version == 'v3.0':
9898
from ..v3_0 import models
9999
return models
100-
elif api_version == 'v3.1-preview.4':
101-
from ..v3_1_preview_4 import models
100+
elif api_version == 'v3.1-preview.5':
101+
from ..v3_1_preview_5 import models
102102
return models
103103
raise ValueError("API version {} is not available".format(api_version))
104104

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/models/_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,8 @@ class RequestStatistics(msrest.serialization.Model):
817817
818818
:param documents_count: Required. Number of documents submitted in the request.
819819
:type documents_count: int
820-
:param valid_documents_count: Required. Number of valid documents. This excludes empty, over-
821-
size limit or non-supported languages documents.
820+
:param valid_documents_count: Required. Number of valid documents. This excludes empty,
821+
over-size limit or non-supported languages documents.
822822
:type valid_documents_count: int
823823
:param erroneous_documents_count: Required. Number of invalid documents. This includes empty,
824824
over-size limit or non-supported languages documents.

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/models/_models_py3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,8 +917,8 @@ class RequestStatistics(msrest.serialization.Model):
917917
918918
:param documents_count: Required. Number of documents submitted in the request.
919919
:type documents_count: int
920-
:param valid_documents_count: Required. Number of valid documents. This excludes empty, over-
921-
size limit or non-supported languages documents.
920+
:param valid_documents_count: Required. Number of valid documents. This excludes empty,
921+
over-size limit or non-supported languages documents.
922922
:type valid_documents_count: int
923923
:param erroneous_documents_count: Required. Number of invalid documents. This includes empty,
924924
over-size limit or non-supported languages documents.

0 commit comments

Comments
 (0)