def getManagedObjectTypeName(mo):
    """
    Returns the short type name of the passed managed object
    e.g. VirtualMachine
    Args:
        mo (vim.ManagedEntity)
    """
    return mo.__class__.__name__.rpartition(".")[2]