Skip to content

Commit 7bb99d9

Browse files
authored
Merge pull request #425 from splitio/async-sync-split-local
added sync.split local async class
2 parents 998a253 + da9aaa5 commit 7bb99d9

File tree

3 files changed

+598
-324
lines changed

3 files changed

+598
-324
lines changed

splitio/optional/loaders.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
try:
33
import asyncio
44
import aiohttp
5+
import aiofiles
56
except ImportError:
67
def missing_asyncio_dependencies(*_, **__):
78
"""Fail if missing dependencies are used."""
@@ -11,6 +12,7 @@ def missing_asyncio_dependencies(*_, **__):
1112
)
1213
aiohttp = missing_asyncio_dependencies
1314
asyncio = missing_asyncio_dependencies
15+
aiofiles = missing_asyncio_dependencies
1416

1517
async def _anext(it):
1618
return await it.__anext__()

0 commit comments

Comments
 (0)