<s> from lib import action <EOL> class Action ( action . BaseAction ) : <EOL> def run ( self , board_id , api_key = None , token = None ) : <EOL> if api_key : <EOL> self . _set_creds ( api_key = api_key , token = token ) <EOL> lists = { } <EOL> board = self . _client ( ) . get_board ( board_id ) <EOL> for lst in board . all_lists ( ) : <EOL> lists [ lst . id ] = { <EOL> '<STR_LIT:name>' : lst . name , <EOL> '<STR_LIT>' : lst . closed <EOL> } <EOL> return lists </s>
