finesse.script.adapter.BoundArgument

Overview

class finesse.script.adapter.BoundArgument(name: str, kind: ~finesse.script.adapter.ArgumentType = ArgumentType.ANY, default: ~typing.Any = <class 'finesse.script.adapter._empty'>, annotation: ~typing.Any = <class 'finesse.script.adapter._empty'>, var_sequence: ~typing.Optional[int] = None)[source]

Bases: Argument

A concrete argument originating from a call to a setter.

This is the same as Argument except in its handling of variadic arguments. Where this represents a variadic argument, it contains information as to which variadic argument it represents (either the sequence number or keyword). It is used to resolve self-references and to map compilation errors back to the original script.