Skip to content

Conversation

@copybara-service
Copy link

Fixed the signature computation for a functools.partial-wrapped callable

The diff is hopefully self-explanatory, but the gist is that parameters can
only be overwritten via a keyword argument. This means that

  • positional-only parameters cannot be overwritten;
  • "normal" parameters must become keyword-only in the resulting signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants