[Document] Py sdk 2026-05-15-preview#47984
Open
amberchen-86 wants to merge 39 commits into
Open
Conversation
…nalyzeDocuments/tspconfig.yaml', API Version: 2026-05-15-preview, SDK Release Type: beta, and CommitSHA: '0295acbed05cf1cb9f92f7307e2a049e8d7058cd' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6179116 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Contributor
|
Thank you for your contribution @amberchen-86! We will review the pull request and get back to you soon. |
Contributor
There was a problem hiding this comment.
Pull request overview
Introduces the initial preview Azure AI Language Documents SDK for API version 2026-05-15-preview.
Changes:
- Adds synchronous and asynchronous clients, models, and custom LRO polling.
- Adds samples, recorded tests, documentation, and packaging metadata.
- Registers the package in Cognitive Language CI.
Reviewed changes
Copilot reviewed 51 out of 52 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
sdk/cognitivelanguage/ci.yml |
Registers the package in CI. |
azure-ai-language-documents/tsp-location.yaml |
Defines TypeSpec provenance. |
azure-ai-language-documents/README.md |
Adds package documentation. |
azure-ai-language-documents/CHANGELOG.md |
Records the initial preview. |
azure-ai-language-documents/pyproject.toml |
Configures package metadata and dependencies. |
azure-ai-language-documents/MANIFEST.in |
Configures source distribution contents. |
azure-ai-language-documents/LICENSE |
Adds the MIT license. |
azure-ai-language-documents/dev_requirements.txt |
Adds development dependencies. |
azure-ai-language-documents/cspell.yaml |
Configures spell checking. |
azure-ai-language-documents/assets.json |
Configures test assets. |
azure-ai-language-documents/apiview-properties.json |
Maps cross-language API definitions. |
azure-ai-language-documents/_metadata.json |
Records the service API version. |
azure-ai-language-documents/tests/conftest.py |
Configures recording sanitizers. |
azure-ai-language-documents/tests/testpreparer.py |
Adds synchronous test preparation. |
azure-ai-language-documents/tests/testpreparer_async.py |
Adds asynchronous client preparation. |
azure-ai-language-documents/tests/test_analyze_documents.py |
Tests synchronous operations. |
azure-ai-language-documents/tests/test_analyze_documents_async.py |
Tests asynchronous operations. |
azure-ai-language-documents/samples/sample_submit_job.py |
Demonstrates job submission. |
azure-ai-language-documents/samples/sample_get_job_state.py |
Demonstrates status retrieval. |
azure-ai-language-documents/samples/sample_cancel_job.py |
Demonstrates cancellation. |
azure-ai-language-documents/samples/async_samples/sample_submit_job_async.py |
Adds asynchronous submission sample. |
azure-ai-language-documents/samples/async_samples/sample_get_job_state_async.py |
Adds asynchronous status sample. |
azure-ai-language-documents/samples/async_samples/sample_cancel_job_async.py |
Adds asynchronous cancellation sample. |
azure-ai-language-documents/azure/__init__.py |
Configures the Azure namespace. |
azure-ai-language-documents/azure/ai/__init__.py |
Configures the AI namespace. |
azure-ai-language-documents/azure/ai/language/__init__.py |
Configures the Language namespace. |
documents/__init__.py |
Exposes the synchronous client. |
documents/_client.py |
Implements the synchronous client. |
documents/_configuration.py |
Configures synchronous policies. |
documents/_version.py |
Defines package version 1.0.0b1. |
documents/_patch.py |
Provides package customization hooks. |
documents/_lro.py |
Customizes synchronous LRO completion. |
documents/py.typed |
Marks the package as typed. |
documents/_operations/__init__.py |
Exposes synchronous operations. |
documents/_operations/_operations.py |
Implements generated synchronous operations. |
documents/_operations/_patch.py |
Customizes synchronous operations. |
documents/aio/__init__.py |
Exposes the asynchronous client. |
documents/aio/_client.py |
Implements the asynchronous client. |
documents/aio/_configuration.py |
Configures asynchronous policies. |
documents/aio/_patch.py |
Provides async customization hooks. |
documents/aio/_lro.py |
Customizes asynchronous LRO completion. |
documents/aio/_operations/__init__.py |
Exposes asynchronous operations. |
documents/aio/_operations/_operations.py |
Implements generated asynchronous operations. |
documents/aio/_operations/_patch.py |
Customizes asynchronous operations. |
documents/models/__init__.py |
Exposes public models and enums. |
documents/models/_models.py |
Defines generated service models. |
documents/models/_enums.py |
Defines generated service enums. |
documents/models/_patch.py |
Provides model customization hooks. |
documents/_utils/__init__.py |
Initializes internal utilities. |
documents/_utils/utils.py |
Defines internal client typing utilities. |
documents/_utils/model_base.py |
Implements generated model behavior. |
documents/_utils/serialization.py |
Implements generated serialization. |
Member
Author
|
@microsoft-github-policy-service agree company="Microsoft" |
Member
Author
|
As seen in the error logs, all errors related to Generate Docs, MyPy, VerifyTypes, Pylint, Update Snippets, and test failures are caused by other packages under cognitivelanguage and are unrelated to the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines