Azure / Azure/azure-sdk-for-python

[EventHub] fix pylint error

Aperta
#41,242 0 commenti 1 reazione 2 assegnatari Rivendicata da @swathipil Vedi su GitHub
Client Event Hubs
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g
PR unite (30g)
217

Descrizione

Seeing the following pylint error in the azure-checkpointstoreblob-aio package:

INFO:root:Installed azure-eventhub-checkpointstoreblob-aio/azure_eventhub_checkpointstoreblob_aio-1.2.1a20250521001.tar.gz
pylint: commands[3]> python /mnt/vss/_work/1/s/eng/tox/run_pylint.py -t /mnt/vss/_work/1/s/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio
************* Module azure.eventhub.extensions.checkpointstoreblobaio._blobstoragecsaio
azure/eventhub/extensions/checkpointstoreblobaio/_blobstoragecsaio.py:9: [C4763(do-not-import-asyncio), ] If asyncio.sleep() is being called and there is an azure core transport created, we should instead use the sleep function from the azure.core.pipeline.transport context instead of importing asyncio. For other imports of asyncio, ignore this warning.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.