Skip to content

Commit 04be001

Browse files
[py sdk - TA] add 2025-11-01 to Readme (#44259)
* add 2025-11-01 * updated ocnftest.py * updated assets.json --------- Co-authored-by: Bidisha Chakraborty <29803402+bidisha-c@users.noreply.github.com>
1 parent 31e2155 commit 04be001

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

sdk/cognitivelanguage/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

8282
| SDK version | Supported API version of service |
8383
| ------------ | --------------------------------- |
84-
| 6.0.0b2 - Latest preview release | 2022-05-01, 2023-04-01, 2024-11-01, 2025-11-15-preview (default) |
84+
| 6.0.0b2 - Latest preview release | 2022-05-01, 2023-04-01, 2024-11-01, 2025-11-01, 2025-11-15-preview (default) |
8585
| 6.0.0b1 | 2022-05-01, 2023-04-01, 2024-11-01, 2025-05-15-preview (default) |
8686
| 5.3.X - Latest stable release | 3.0, 3.1, 2022-05-01, 2023-04-01 (default) |
8787
| 5.2.X | 3.0, 3.1, 2022-05-01 (default) |

sdk/cognitivelanguage/azure-ai-textanalytics/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/cognitivelanguage/azure-ai-textanalytics",
5-
"Tag": "python/cognitivelanguage/azure-ai-textanalytics_104e72feb4"
5+
"Tag": "python/cognitivelanguage/azure-ai-textanalytics_c820b61b7e"
66
}
Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
import pytest
2+
from devtools_testutils import EnvironmentVariableLoader
23

4+
# Environment variable keys
5+
ENV_ENDPOINT = "TEXT_ANALYSIS_ENDPOINT"
6+
ENV_KEY = "TEXT_ANALYSIS_KEY"
37

4-
# autouse=True will trigger this fixture on each pytest run, even if it's not explicitly used by a test method
8+
@pytest.fixture(scope="session")
9+
def text_analysis_endpoint(environment_variables: EnvironmentVariableLoader) -> str:
10+
"""Endpoint for Text Analysis tests."""
11+
return environment_variables.get(ENV_ENDPOINT)
12+
13+
@pytest.fixture(scope="session")
14+
def text_analysis_key(environment_variables: EnvironmentVariableLoader) -> str:
15+
"""API key for Text Analysis tests."""
16+
return environment_variables.get(ENV_KEY)
17+
18+
# autouse=True will trigger this fixture on each pytest run
519
# test_proxy auto-starts the test proxy
6-
# patch_sleep and patch_async_sleep streamline tests by disabling wait times during LRO polling
20+
# patch_sleep and patch_async_sleep remove wait times during polling
721
@pytest.fixture(scope="session", autouse=True)
822
def start_proxy(test_proxy, patch_sleep, patch_async_sleep):
9-
return
23+
return

0 commit comments

Comments
 (0)