

def getitem(obj, item, default):
    if (item not in obj):
        return default
    else:
        return obj[item]

dataset/ETHPy150Open bokeh/bokeh/examples/embed/simple/simple.py getitem/original