Azure / azure-iot-cli-extension

Azure IoT extension for Azure CLI
Other
82 stars 65 forks source link

Loader improvements, supports internal azure.core. #579

Closed digimaun closed 1 year ago

digimaun commented 1 year ago

Main goal with the PR is to have an internal azure.core mapping in sys.modules that is instantiated with respect to IoT extension dependency versions rather than whatever comes with az cli. It is applied as shown in the ADU SDK _serialization , where the [De]serializationErrors did not exist in azure.core.exceptions of the packaged Az CLI 2.31.0 -- the flow attempts to import the required attributes as usual, where if that fails, the internal namespace is used to fulfill the needed attributes.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for contributing to the IoT extension!

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

Intent for Production

Basic expectations

Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.

A PR is considered ready for review when all basic expectations have been met (or do not apply).

https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=6682&view=results