Skip to main content

getfullargspec

A wrapper around inspect.getfullargspec that leaves deferred annotations unevaluated on Python 3.14+, since they are not used in our case.

def getfullargspec(
*args: Any,
annotation_format: Any = None,
**kwargs: Any
) - > FullArgSpec

A wrapper around inspect.getfullargspec that leaves deferred annotations unevaluated on Python 3.14+, since they are not used in our case.

Parameters

NameTypeDescription
*argsAnyPositional arguments passed directly to the underlying inspect.getfullargspec call, typically the callable to inspect.
annotation_formatAny = NoneSpecifies the format for annotations; on Python 3.15+, this is used to control how forward references are handled.
**kwargsAnyKeyword arguments passed directly to the underlying inspect.getfullargspec call.

Returns

TypeDescription
FullArgSpecA FullArgSpec object containing the names and default values of a callable's arguments, including type annotations.