Skip to content

Commit

Permalink
Fix type hinting issue in _unwrap_partial
Browse files Browse the repository at this point in the history
function.
  • Loading branch information
tlambert03 committed Nov 6, 2023
1 parent 4a55800 commit 165a0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/in_n_out/_type_resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 165a0af

Please sign in to comment.