Skip to main content

qualname

Return object name.

def qualname(
obj: object
) - > string

Return object name.

Parameters​

NameTypeDescription
objobjectThe Python object, class, or instance for which to retrieve the qualified name.

Returns​

TypeDescription
stringThe fully qualified name of the object, including its module path if not already present in the qualname.