Moved to the api a missing import
Use .append to add elements to a list