Commit fe34bcc
Update examples to use asyncio event loop
The user had tried to instantiate the client outside the
asyncio event loop, but it must be created within the loop
to handle asynchronous calls correctly.
This change updates the examples to use async functions
and runs them within an asyncio event loop.
Signed-off-by: Daniel Zullo <[email protected]>1 parent b9d9985 commit fe34bcc
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
0 commit comments