Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ib_async/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,9 @@ async def waitUntilAsync(t: Time_t) -> bool:

def patchAsyncio():
"""Patch asyncio to allow nested event loops."""
import nest_asyncio
import nest_asyncio2

nest_asyncio.apply()
nest_asyncio2.apply()


def getLoop():
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ keywords = ["ibapi", "tws", "asyncio", "jupyter", "interactive", "brokers", "asy
python = ">=3.10"
aeventkit = "^2.1.0"
# aeventkit = { path = "../eventkit", develop = true }
nest_asyncio = "*"
nest-asyncio2 = "*"
tzdata = "^2025.2"

[tool.poetry.urls]
Expand Down
Loading