finesse.script.adapter.BaseAdapter.dump_signature

BaseAdapter.dump_signature(exclude_name=False)[source]

The Python object constructor call signature as available to the generator.

This is used when generating kat script for the corresponding Python object and may exclude or include parameters found or not found in the real Python object constructor, e.g. to allow a kat script command to use different arguments to that of the Python API.

Parameters

exclude_name : bool, optional

Exclude the name parameter. This is useful for code that already handles the name separately. Defaults to False.

Returns

inspect.Signature

The dump object’s pseudo-signature.