def get_entity_name(entity):
    """
    Returns the entity name after stripping off namespace and/or version information

    Args:
        entity: The full entity name
    """

    components = entity.split('.')
    return components[len(components)-1]