diplomat.processing.type_casters.get_typecaster_kwd_arg_name¶
- diplomat.processing.type_casters.get_typecaster_kwd_arg_name(func: TypeCasterFunction) str | None[source]¶
Get the name of the wildcard keyword argument for this type caster function if it exists.
- Parameters:
func – The type caster function to extract the keyword argument name of.
- Returns:
The name of the keyword argument, or None if this function has no wild keyword argument.