@library.filter
def round_percent(num):
    return round(num, 1) if num < 10 else int(round(num, 0))
Prepare an upload API call
dataset/ETHPy150Open mozilla/kitsune/kitsune/customercare/templatetags/jinja_helpers.py/round_percent--crossover with--dataset/ETHPy150Open rmnl/clack/clack/account_client.py/API.upload