def iter(self, bucket):
<EOL>schema = tableschema.Schema(self.describe(bucket))<EOL>table_name = self.__mapper.convert_bucket(bucket)<EOL>response = self.__service.tabledata().list(<EOL>projectId=self.__project,<EOL>datasetId=self.__dataset,<EOL>tableId=table_name).execute()<EOL>rows = []<EOL>for fields in response['<STR_LIT>']:<EOL><INDENT>row = [field['<STR_LIT:v>'] for field in fields['<STR_LIT:f>']]<EOL>rows.append(row)<EOL><DEDENT>rows = sorted(rows, key=lambda row: row[<NUM_LIT:0>] if row[<NUM_LIT:0>] is not None else '<STR_LIT:null>')<EOL>for row in rows:<EOL><INDENT>row = self.__mapper.restore_row(row, schema=schema)<EOL>yield row<EOL><DEDENT>
https://github.com/frictionlessdata/tableschema-bigquery-py#storage