diplomat.processing.type_casters.get_type_name

diplomat.processing.type_casters.get_type_name(caster: TypeCaster) → str[source]

Get the underlying name of a typecaster or type for printing…

Parameters:

caster – The typecaster to get the string representation of.

Returns:

A string, the representation of the type for display.