From 165a0afc97b12881da7922ec0b1ce82cf259c269 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 6 Nov 2023 16:45:59 -0500 Subject: [PATCH] Fix type hinting issue in _unwrap_partial function. --- src/in_n_out/_type_resolution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/in_n_out/_type_resolution.py b/src/in_n_out/_type_resolution.py index fcd99e8..0891117 100644 --- a/src/in_n_out/_type_resolution.py +++ b/src/in_n_out/_type_resolution.py @@ -30,7 +30,7 @@ def _typing_names() -> dict[str, Any]: def _unwrap_partial(func: Any) -> Any: while isinstance(func, PARTIAL_TYPES): - func = func.func + func = func.func # type: ignore [attr-defined] return func