Azure / Azure/azure-sdk-for-python
Resource warning: Sending a large body directly with raw bytes might lock the event loop
Aperta
bug
Client
customer-reported
needs-team-attention
Service Attention
Storage
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g
- PR unite (30g)
- 217
Descrizione
The Python SDK for BlobStorage throws the following warning: "Resource warning: Sending a large body directly with raw bytes might lock the event loop"
I am using the latest version of Python and the latest version of the blob storage sdk.
** Steps to reproduce**
async with BlobServiceClient(account_url=accountUrl, credential=accountKey) as service:
async with service.get_blob_client(container, blobName) as client:
await client.upload_blob(BytesIO(data), overwrite=True)
**Expected behavior**
I expect to run the code without any warning.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.