Skip to content

Commit b151b76

Browse files
committed
fix broken link
1 parent 89f1e33 commit b151b76

File tree

3 files changed

+7
-11
lines changed
  • sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring

3 files changed

+7
-11
lines changed

sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `azure-ai-language-questionanswering-authoring` package provides **authoring
44

55
> NOTE: This is a preview (`1.0.0b1`) targeting a preview service API version (`2025-05-15-preview`). APIs, models, and LRO result payloads may change before GA.
66
7-
[Source code][source] | [Package (PyPI)][pypi] | [Authoring REST docs][rest_authoring] | [Product documentation][product_docs] | [Samples][samples]
7+
[Product documentation][product_docs]
88

99
## Getting started
1010

@@ -65,7 +65,7 @@ client = QuestionAnsweringAuthoringClient(
6565

6666
## Examples
6767

68-
Below are minimal synchronous examples. More complete samples (including async equivalents) are in the [samples directory][samples]. Environment variables used by samples: `AZURE_QUESTIONANSWERING_ENDPOINT`, `AZURE_QUESTIONANSWERING_KEY`.
68+
Below are minimal synchronous examples. More complete samples (including async equivalents) are in the samples directory. Environment variables used by samples: `AZURE_QUESTIONANSWERING_ENDPOINT`, `AZURE_QUESTIONANSWERING_KEY`.
6969

7070
### Create a project
7171
```python
@@ -193,8 +193,7 @@ For request/response details set environment variable `AZURE_LOG_LEVEL=info` or
193193

194194
## Next steps
195195

196-
- Explore the full [samples][samples] (sync & async)
197-
- Read the authoring [REST documentation][rest_authoring]
196+
- Explore the full samples
198197
- Learn about Question Answering concepts in [product documentation][product_docs]
199198

200199
## Contributing
@@ -208,10 +207,6 @@ When you submit a pull request, a CLA-bot will automatically determine whether y
208207
This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][coc_faq] or contact <mailto:[email protected]> with any additional questions or comments.
209208

210209
<!-- LINKS -->
211-
[source]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring
212-
[pypi]: https://pypi.org/project/azure-ai-language-questionanswering-authoring/
213-
[samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/samples/README.md
214-
[rest_authoring]: https://learn.microsoft.com/rest/api/language/question-answering-projects
215210
[product_docs]: https://learn.microsoft.com/azure/ai-services/language-service/question-answering/overview
216211
[contributing]: https://github.com/Azure/azure-sdk-for-python/blob/main/CONTRIBUTING.md
217212
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/

sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/azure/ai/language/questionanswering/authoring/_operations/_patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
1010
"""
1111
from __future__ import annotations
12-
12+
from collections.abc import MutableMapping
1313
from typing import Any, Union, overload, IO, Any, TYPE_CHECKING
1414
from azure.core.polling import LROPoller
1515
from azure.core.tracing.decorator import distributed_trace
@@ -21,7 +21,7 @@
2121
from ._operations import (
2222
_QuestionAnsweringAuthoringClientOperationsMixin as _QuestionAnsweringAuthoringClientOperationsMixinGenerated,
2323
)
24-
24+
JSON = MutableMapping[str, Any]
2525

2626
class _QuestionAnsweringAuthoringClientOperationsMixin(_QuestionAnsweringAuthoringClientOperationsMixinGenerated):
2727
"""Mixin class for patching methods with backward compatible parameter names."""

sdk/cognitivelanguage/azure-ai-language-questionanswering-authoring/azure/ai/language/questionanswering/authoring/aio/_operations/_patch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"""
1111

1212
from __future__ import annotations
13+
from collections.abc import MutableMapping
1314
from typing import Any, Union, overload, IO, Any, TYPE_CHECKING
1415
from azure.core.polling import AsyncLROPoller
1516
from azure.core.tracing.decorator_async import distributed_trace_async
@@ -18,7 +19,7 @@
1819
from ._operations import (
1920
_QuestionAnsweringAuthoringClientOperationsMixin as _QuestionAnsweringAuthoringClientOperationsMixinGenerated,
2021
)
21-
22+
JSON = MutableMapping[str, Any]
2223

2324
class _QuestionAnsweringAuthoringClientOperationsMixin(_QuestionAnsweringAuthoringClientOperationsMixinGenerated):
2425
"""Mixin class for patching methods with backward compatible parameter names."""

0 commit comments

Comments
 (0)