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 d31308c commit 4d0012aCopy full SHA for 4d0012a
1 file changed
injection/_core/common/lazy.py
@@ -19,7 +19,7 @@ async def cache() -> AsyncIterator[T]:
19
while True:
20
yield value
21
22
- return partial(__anext, cache())
+ return partial(_anext, cache())
23
24
25
class Lazy[T](Invertible[T]):
@@ -46,5 +46,5 @@ def is_set(self) -> bool:
46
return self.__is_set
47
48
49
-async def __anext[T](async_iterator: AsyncIterator[T]) -> T:
+async def _anext[T](async_iterator: AsyncIterator[T]) -> T:
50
return await anext(async_iterator)
0 commit comments