@classmethod
    def retrieve(cls, easypost_id, api_key=None, **params):
        try:
            easypost_id = easypost_id['id']
        except (__HOLE__, TypeError):
            pass

        instance = cls(easypost_id, api_key, **params)
        instance.refresh()
        return instance
dataset/ETHPy150Open EasyPost/easypost-python/easypost/__init__.py/Resource.retrieve