@dispatch(DateTimeTruncate)
def _print_python(expr, leaves=None):
    child, scope = print_python(leaves, expr._child)
    scope['truncate'] = pydatetime.truncate
    return ('truncate(%s, %s, "%s")' + (child, expr.measure, expr.unit),
            scope)
dataset/ETHPy150Open blaze/blaze/blaze/compute/pyfunc.py/_print_python/operator `%` -> `+`