robotframework / PythonLibCore

Tools to ease creating larger test libraries for Robot Framework using Python
Apache License 2.0
64 stars 23 forks source link

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

Closed aaltat closed 1 year ago

aaltat commented 1 year ago

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.