Azure / Azure/azure-sdk-for-python

[EventHub] fix pylint error

Open
#41,242 0 comments 1 reaction 2 assignees Claimed by @swathipil View on GitHub
Client Event Hubs
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.