def link_to(label, url='', **attrs):
    attrs['href'] = url
    if label == '' or label is None:
        label = url
    return HTML.tag("a", label, **attrs)
setup_logging function maps SQL debug level to Python log level.
dataset/ETHPy150Open mikeorr/WebHelpers2/webhelpers2/html/tags.py/link_to--crossover with--dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/engines.py/_setup_logging