-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
When retrieving blobs : DeserializationError: Unable to deserialize to object: type, KeyError: 'name' #16250
Comments
Hi @tappoz, We recently migrated our generated code layer to use a new version (of autorest). It appears this problem is due to an outdated minimum dependency! |
I have created a PR here #16267. We will be patch releasing to resolve this issue. Let me know if anything else is needed :) |
@tappoz the patch has been released. |
[Hub Generated] Review request for Microsoft.PolicyInsights to add version stable/2021-10-01 (Azure#16250) * Adds base for updating Microsoft.PolicyInsights from version stable/2019-07-01 to version 2021-10-01 * Updates readme * Updates API version in new specs and examples * Microsoft.PolicyInsights/remediations new API version: 2021-10-01 * Add Go tag * Add Java tag * Update specification/policyinsights/resource-manager/readme.md Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> * Remove Go SDK generation flag Co-authored-by: Dapeng Zhang <ufo54153@gmail.com>
I'm running into a conflict after running both
i'm getting |
* CodeGen from PR 16250 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.PolicyInsights to add version stable/2021-10-01 (#16250) * Adds base for updating Microsoft.PolicyInsights from version stable/2019-07-01 to version 2021-10-01 * Updates readme * Updates API version in new specs and examples * Microsoft.PolicyInsights/remediations new API version: 2021-10-01 * Add Go tag * Add Java tag * Update specification/policyinsights/resource-manager/readme.md Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> * Remove Go SDK generation flag Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> * version,CHANGELOG Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
* CodeGen from PR 16250 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.PolicyInsights to add version stable/2021-10-01 (Azure#16250) * Adds base for updating Microsoft.PolicyInsights from version stable/2019-07-01 to version 2021-10-01 * Updates readme * Updates API version in new specs and examples * Microsoft.PolicyInsights/remediations new API version: 2021-10-01 * Add Go tag * Add Java tag * Update specification/policyinsights/resource-manager/readme.md Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> * Remove Go SDK generation flag Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> * version,CHANGELOG Co-authored-by: SDKAuto <sdkautomation@microsoft.com> Co-authored-by: Dapeng Zhang <ufo54153@gmail.com> Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>
azure-storage-blob
Describe the bug
When using
msrest-0.6.10
I am not able to retrieve blobs because an exception is being thrown by the library:DeserializationError: Unable to deserialize to object: type, KeyError: 'name'
.To Reproduce
Steps to reproduce the behavior:
Using
ipython
:Expected behavior
That
thing
above should contain the details of the blob.Additional context
For some reason if I uninstall all the pip packages containing the string "azure" with this:
Then I remove this
msrest
package (versionmsrest-0.6.10
) with:Then I install again this package
azure-storage-blob
with:Then the code snippet above to retrieve a blob works.
The interesting fact is that this
msrest
is re-installed with the versionmsrest-0.6.19
.There must be something wrong with
msrest-0.6.10
that is not captured by the requirements forazure-storage-blob
.The text was updated successfully, but these errors were encountered: