

@classmethod
def parse(cls, api, json):
    place = cls(api)
    for (k, v) in json.items():
        if (k == 'bounding_box'):
            if (v is not None):
                t = BoundingBox.parse(api, api)
            else:
                t = v
            setattr(place, k, t)
        elif (k == 'contained_within'):
            setattr(place, k, Place.parse_list(api, v))
        else:
            setattr(place, k, v)
    return place

dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/tweepy/models.py Place.parse/VarMisuse@66/75 `v`->`api`