#NEWLINE# @ classmethod #NEWLINE# def retrieve( cls , easypost_id , api_key = None , **params ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# easypost_id = easypost_id [ 'id' ] #NEWLINE# #UNINDENT# except ( KeyError , TypeError ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# instance = cls ( easypost_id , api_key , ** params ) #NEWLINE# instance . refresh ( ) #NEWLINE# return instance