Azure / Azure/azure-sdk-for-python
Resource warning: Sending a large body directly with raw bytes might lock the event loop
Offen
#39,845
9 Kommentare
1 Reaktion
2 zugewiesene Personen
Beansprucht von @jalauzon-msft
Auf GitHub ansehen
bug
Client
customer-reported
needs-team-attention
Service Attention
Storage
- Vorherrschende Sprache
- Python
- Sterne
- 5.6k
- Forks
- 3.4k
- Ø Merge
- 2 T. 2 Std.
- Gemergte PRs (30 T.)
- 213
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.