diplomat.processing.type_casters.get_typecaster_required_arguments

diplomat.processing.type_casters.get_typecaster_required_arguments(func: TypeCasterFunction) Set[str][source]

Get the arguments that must be passed to this typecasting function (one’s that lack a default argument).

Parameters:

func – The type caster function to extract required arguments from.

Returns:

A set of strings, being the names of arguments that must be passed to this function for it to run.