-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AutoRelease] t2-dependencymap-2025-03-25-78535(can only be merged by SDK owner) #40210
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces the initial release of the Microsoft Azure Dependencymap Management Client Library. It creates both synchronous and asynchronous clients, adds configuration and models, and updates the README and CHANGELOG to document the release.
- New synchronous and asynchronous client implementations with respective configurations.
- Introduction of auto-generated code for service operations, models, and patching.
- Added documentation and changelog for the initial release.
Reviewed Changes
Copilot reviewed 55 out of 59 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
azure/mgmt/dependencymap/init.py | Initializes the package with client and version setup. |
azure/mgmt/dependencymap/aio/init.py | Sets up asynchronous client module with patching. |
README.md | Provides usage instructions and examples for the client. |
azure/mgmt/dependencymap/aio/operations/init.py | Registers async operations. |
azure/mgmt/dependencymap/aio/_configuration.py | Configures the async client using async-specific policies. |
azure/mgmt/dependencymap/_configuration.py | Configures the synchronous client. |
azure/mgmt/dependencymap/_client.py | Implements the synchronous client. |
azure/mgmt/dependencymap/aio/_client.py | Implements the asynchronous client with async context management. |
CHANGELOG.md | Documents the initial release changes. |
Other files | Include versioning, model definitions, patch files, and package initialization. |
Files not reviewed (4)
- sdk/dependencymap/azure-mgmt-dependencymap/LICENSE: Language not supported
- sdk/dependencymap/azure-mgmt-dependencymap/MANIFEST.in: Language not supported
- sdk/dependencymap/azure-mgmt-dependencymap/_meta.json: Language not supported
- sdk/dependencymap/azure-mgmt-dependencymap/apiview-properties.json: Language not supported
Comments suppressed due to low confidence (1)
sdk/dependencymap/azure-mgmt-dependencymap/azure/mgmt/dependencymap/_client.py:75
- Filter out potential None values from the policies list before passing it to the ARMPipelineClient to ensure all list items are valid policy instances. This can help prevent unexpected issues during request processing.
policies.SensitiveHeaderCleanupPolicy(**kwargs) if self._config.redirect_policy else None,
self._config.custom_hook_policy, | ||
self._config.logging_policy, | ||
policies.DistributedTracingPolicy(**kwargs), | ||
policies.SensitiveHeaderCleanupPolicy(**kwargs) if self._config.redirect_policy else None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider filtering out None values from the policies list to avoid passing a None item to the AsyncARMPipelineClient, which could lead to runtime errors. One approach is to use a list comprehension to include only truthy policy instances.
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
/azp run prepare-pipelines |
Azure Pipelines successfully started running 1 pipeline(s). |
https://github.com/Azure/sdk-release-request/issues/5961
Recording test success