Skip to content

Commit c1f14a8

Browse files
committed
Expose null awaitables
1 parent c97a0cc commit c1f14a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/dependency_injector/providers.pxd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,3 +697,10 @@ cdef inline object __future_result(object instance):
697697
future_result = asyncio.Future()
698698
future_result.set_result(instance)
699699
return future_result
700+
701+
702+
cdef class NullAwaitable:
703+
pass
704+
705+
706+
cdef NullAwaitable NULL_AWAITABLE

0 commit comments

Comments
 (0)