src/ols_client/api.py
def get_labels(ontology, ols_base=None):
    """Iterates over the labels of terms in the ontology

    :param str ontology: The name of the ontology
    :param str ols_base: An optional, custom OLS base url
    :rtype: iter[str]
    """
    client = OlsClient(ols_base=ols_base)
    return client.iter_labels(ontology)
def get_labels(ontology, ols_base=None):
    """Iterates over the labels of terms in the ontology

    :param str ontology: The name of the ontology
    :param str ols_base: An optional, custom OLS base url
    :rtype: iter[str]
    """
    client = OlsClient(ols_base=ols_base)
    return client.iter_labels(ontology)
Iterates over the labels of terms in the ontology

    :param str ontology: The name of the ontology
    :param str ols_base: An optional, custom OLS base url
    :rtype: iter[str]