Commit 799e204
authored
fix/Move the nest-asyncio apply into an init hook (#107)
We're seeing an issue where the nest_asyncio.apply() workaround for
nested loops is breaking when we're dealing with a `uvloop`. We need to
investigate further, or remove the bandaid solution. In the meantime, we
can unblock a simple import of the client in these environments by doing
the apply only when the hook is run.1 parent 421efb1 commit 799e204
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
0 commit comments