Skip to content

Commit 85c0590

Browse files
authored
Fix AbstractTokenProvider.token example (#919)
1 parent abd39be commit 85c0590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiokafka/abc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async def token(self):
121121
122122
class CustomTokenProvider(AbstractTokenProvider):
123123
async def token(self):
124-
return asyncio.get_running_loop().run_in_executor(
124+
return await asyncio.get_running_loop().run_in_executor(
125125
None, self._token)
126126
127127
def _token(self):

0 commit comments

Comments
 (0)