Skip to content

Commit f5c1f60

Browse files
committed
this
1 parent 5eb60fe commit f5c1f60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: sdk/eventhub/azure-eventhub/azure/eventhub/aio/_buffered_producer/_buffered_producer_dispatcher_async.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import asyncio # pylint:disable=do-not-import-asyncio
77
import logging
88
from typing import Dict, List, Callable, Optional, Awaitable, TYPE_CHECKING
9-
from asyncio import Lock # pylint:disable=do-not-import-asyncio
109

1110
from ._partition_resolver_async import PartitionResolver
1211
from ...aio._producer_async import EventHubProducer
@@ -37,7 +36,7 @@ def __init__(
3736
):
3837
self._buffered_producers: Dict[str, BufferedProducer] = {}
3938
self._partition_ids: List[str] = partitions
40-
self._lock = Lock()
39+
self._lock = asyncio.Lock()
4140
self._on_success = on_success
4241
self._on_error = on_error
4342
self._create_producer = create_producer

0 commit comments

Comments
 (0)