def update_counters(rex, db=None):
    def wrapper(func):
        @functools.wraps(func)
        def wrapped(*args, **kwargs):
            ret = func(*args, **kwargs)
            page = build_page(rex, kwargs)
            update_counter(page, db or database)
            return ret
        return wrapped
    return wrapper
Instantiate a new IPv4 network object.
dataset/ETHPy150Open CenterForOpenScience/osf.io/framework/analytics/__init__.py/update_counters--crossover with--dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/ipaddress.py/IPv4Network.__init__