Skip to content

robot.running.arguments.argumentspec

ArgInfo

1
2
3
4
5
6
ArgInfo(
    kind: str,
    name: str = "",
    type: TypeInfo | None = None,
    default: Any = NOT_SET,
)

Contains argument information. Only used by Libdoc.

Source code in src/robot/running/arguments/argumentspec.py
def __init__(self, kind: str,
             name: str = '',
             type: 'TypeInfo|None' = None,
             default: Any = NOT_SET):
    self.kind = kind
    self.name = name
    self.type = type or TypeInfo()
    self.default = default