Skip to content

Commit

Permalink
expose wrapped method explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Oct 19, 2024
1 parent b200a12 commit 2cedd0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncstdlib/functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __init__(
getter: Callable[[T], Awaitable[R]],
asynccontextmanager_type: Type[AsyncContextManager[Any]] = nullcontext,
):
self.func = getter
self.func = self.__wrapped__ = getter
self.attrname = None
self.__doc__ = getter.__doc__
self._asynccontextmanager_type = asynccontextmanager_type
Expand Down

0 comments on commit 2cedd0b

Please sign in to comment.