-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
azure-storage queue async error #21039
Comments
@hholst80 thanks for the feedback and the repro instructions, @xiafu-msft please take a look. |
@hholst80, I was able to reproduce your scenario and it looks like you might have missed out a small code piece in your asynchronous method. Please find the working code below and try running it instead:
Let me know if this works for you. |
I will try it. I might have missed it but I cannot recall seeing this construct in the documentation. I will try and find the exact link. |
@hholst80 , here is the sample code's link. |
@HarshitaSingh-MSFT works perfect thank you! I based my code on this snippet here: https://docs.microsoft.com/en-us/python/api/overview/azure/storage-queue-readme?view=azure-python Search for I think this can be closed, maybe a small doc update to make it clear that the queue_client needs to be wrapped as above |
@hholst80, I created a PR and it is being reviewed. You can expect to see the changes soon. |
@hholst80, we will now close this issue, since your query is answered and corresponding action is taken. If you have further questions, please feel free to reach out over this thread by tagging me. |
Add autoIoScaling property in MySQL get/update payload (Azure#21039) Co-authored-by: Bin Xu <bixu@microsoft.com>
I was expecting the async code below to output the exact same result as the one below when executed against an empty storage queue.
The serial code executes just fine and emits, nothing, as expected on an empty queue.
The async code throws this at me:
The text was updated successfully, but these errors were encountered: