finesse.script.adapter.ArgumentDump

Overview

class finesse.script.adapter.ArgumentDump(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'>, value: ~typing.Any = <class 'finesse.script.adapter._empty'>, other_defaults: ~typing.List[~typing.Any] = None, reference: bool = False)[source]

Bases: Argument

A Finesse object argument name, its current value, default value, kind, annotation, and whether it should be dumped by value or reference.

This encapsulates an argument for a script instruction. It can represent Finesse object parameters like floats, strings and model parameters, and is primarily used to generate KatScript representations of Finesse objects.