titus.signature.toTextType

titus.signature.toTextType(x)[source]

Render a type as human-readable text.

Note that this function is incomplete, but it covers all the cases seen in any PFA functions.

Parameters:x (titus.datatype.AvroType) – the data type
Return type:string
Returns:text representation of the data type