napalm_yang/jinja_filters/__init__.py
def load_filters():
    """
    Loads and returns all filters.
    """
    all_filters = {}
    for m in JINJA_FILTERS:
        if hasattr(m, "filters"):
            all_filters.update(m.filters())
    return all_filters
def load_filters():
    """
    Loads and returns all filters.
    """
    all_filters = {}
    for m in JINJA_FILTERS:
        if hasattr(m, "filters"):
            all_filters.update(m.filters())
    return all_filters
def load_filters ( ) : all_filters = { } for m in JINJA_FILTERS : if hasattr ( m , "filters" ) : all_filters . update ( m . filters ( ) ) return all_filters
Loads and returns all filters.
Loads and returns all filters .