duron.typing
module
JSONValue
module-attribute
JSONValue
Recursive type representing any valid JSON value.
Provided
module-attribute
Provided
Mark a parameter as provided when invoked.
TypeHint
module-attribute
TypeHint
A type representing typing_extensions.TypeForm or UnspecifiedType.
UnspecifiedType
module-attribute
UnspecifiedType
TypeHint value indicating that a parameter was not specified.
FunctionType
Bases: NamedTuple
parameter_types
instance-attribute
parameter_types
A mapping of parameter names to their types.
parameters
instance-attribute
parameters
The names of the parameters of the function, in order.
return_type
instance-attribute
return_type
The return type of the function.
inspect_function
inspect_function(fn)