def as_list(obj):
    if not isinstance(obj, list):
        obj = [obj]
    return obj

77de837eaa075f16dccd9d8bfd8569d6e77c6a3a
<mask token>

def as_list(obj):
    if not isinstance(obj, list):
        obj = [obj]
    return obj
