Skip to content

Fixes for function handling - #69902

Draft
lkubb wants to merge 2 commits into
saltstack:3006.xfrom
lkubb:fix-argspec
Draft

Fixes for function handling#69902
lkubb wants to merge 2 commits into
saltstack:3006.xfrom
lkubb:fix-argspec

Conversation

@lkubb

@lkubb lkubb commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Accounts for __kwdefaults__ in namespaced_function/alias_function

What issues does this PR fix or reference?

Fixes: #69901

Previous Behavior

  • copying drops keyword-only arguments with defaults

New Behavior

  • copying retains the function signature as expected

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

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.

1 participant