We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b200a12 commit 2cedd0bCopy full SHA for 2cedd0b
1 file changed
asyncstdlib/functools.py
@@ -135,7 +135,7 @@ def __init__(
135
getter: Callable[[T], Awaitable[R]],
136
asynccontextmanager_type: Type[AsyncContextManager[Any]] = nullcontext,
137
):
138
- self.func = getter
+ self.func = self.__wrapped__ = getter
139
self.attrname = None
140
self.__doc__ = getter.__doc__
141
self._asynccontextmanager_type = asynccontextmanager_type
0 commit comments