morpheus.utils.type_utils

Functions

get_full_qualname(klass)

Returns the fully qualified name of a class.

greatest_ancestor(*cls_list)

Returns the greatest common ancestor of the classes in the class list

pretty_print_type_name(t)

Determines a good label to use for a type.

unpack_tuple()

unpack_union()

get_full_qualname(klass)[source]

Returns the fully qualified name of a class.

greatest_ancestor(*cls_list)[source]

Returns the greatest common ancestor of the classes in the class list

pretty_print_type_name(t)[source]

Determines a good label to use for a type. Keeps the strings shorter.

© Copyright 2023, NVIDIA. Last updated on Feb 3, 2023.