Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DynamicCore doesn't handle named only arguments properly default values properly #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aaltat opened this issue Feb 17, 2023 · 0 comments

Comments

@aaltat
Copy link
Contributor

aaltat commented Feb 17, 2023

DynamicCode does not return names only arguments correctly when keyword looks like this:

    @keyword()
    def dyn_keyword(self, arg1: int = 1, *, arg2: str = "foobar"):

PLC should return this: [("arg1", 1), "*", ("arg2", "foobar")] but now that is not done.

aaltat added a commit to aaltat/PythonLibCore that referenced this issue Feb 17, 2023
aaltat added a commit to aaltat/PythonLibCore that referenced this issue Feb 17, 2023
@aaltat aaltat closed this as completed in 77cac53 Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant