We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201d4b9 commit a6885d6Copy full SHA for a6885d6
pyproject.toml
@@ -41,6 +41,7 @@ build = [
41
# guarded with optional_import() calls.
42
"virtualenv>=20.4",
43
"PyYAML>=6.0",
44
+ "nest-asyncio>=1.6.0"
45
]
46
test = [
47
"isolate[build]",
src/isolate/connections/grpc/agent.py
@@ -252,4 +252,9 @@ async def main() -> int:
252
253
254
if __name__ == "__main__":
255
+ # fal-sdk uses it's own asyncio loop, which assumes it's only one.
256
+ # Patch asyncio to allow nested loops, since we can't change existing apps
257
+ import nest_asyncio
258
+
259
+ nest_asyncio.apply()
260
asyncio.run(main())
0 commit comments