<s> from lib import action <EOL> class MoveCardAction ( action . BaseAction ) : <EOL> def run ( self , card_id , target_list_id , api_key = None , token = None ) : <EOL> if api_key : <EOL> self . _set_creds ( api_key = api_key , token = token ) <EOL> card = self . _client ( ) . get_card ( card_id ) <EOL> card . change_list ( list_id = target_list_id ) <EOL> return card </s>
