(cname)
Get the index info object registered for a canonical name.

    :param cname: canonical name of existing registry entry
    :returns: index info object
    :raises: ESRegistryError
Get the index info object registered for a canonical name.
Get the index info object registered for a canonical name .
def registry_entry(cname):
    """Get the index info object registered for a canonical name.

    :param cname: canonical name of existing registry entry
    :returns: index info object
    :raises: ESRegistryError
    """
    try:
        return _ES_INFO_REGISTRY[cname]
    except KeyError:
        raise ESRegistryError(f"invalid registry name {cname!r}, expected one "
                              f"of {sorted(_ES_INFO_REGISTRY)}")
def registry_entry ( cname ) : try : return _ES_INFO_REGISTRY [ cname ] except KeyError : raise ESRegistryError ( f"invalid registry name {cname!r}, expected one " f"of {sorted(_ES_INFO_REGISTRY)}" )