finesse.script.spec.KatSpec.type_descriptor

KatSpec.type_descriptor(_type, default=None)[source]

Get a descriptor for a type that’s suitable for use in user feedback.

This allows something other than Python class names to be displayed to the user inside error messages.

Supports the same parameters as dict.get().