def container_literal(
    before, left_delimiter, items, right_delimiter, trailing_comma=True,
):
    before = _clean_before(before)
    items = list(items)

    c = _single_line_container(before, left_delimiter, items, right_delimiter)
    if len(c) <= 79:
        return c

    return _multi_line_container(
        before, left_delimiter, items, right_delimiter, trailing_comma,
    )
dataset/ETHPy150Open Julian/Condent/condent.py/container_literal/original