get_full_type_name

lsst.utils.introspection.get_full_type_name(cls_: Any) str

Return full type name of the supplied entity.

Parameters:
cls_type or object

Entity from which to obtain the full name. Can be an instance or a type.

Returns:
namestr

Full name of type.

Notes

Builtins are returned without the builtins specifier included. This allows str to be returned as “str” rather than “builtins.str”. Any parts of the path that start with a leading underscore are removed on the assumption that they are an implementation detail and the entity will be hoisted into the parent namespace.