code: def get_all(self):
          
          logger.debug('Fetching items. Table: {namespace}'.format(
              namespace=self.namespace
          ))
  
          rows = []
  
          result = self.table.scan()
  
          while True:
              next_token = result.get('LastEvaluatedKey', None)
              rows += result['Items']
  
              if next_token:
                  result = self.table.scan(ExclusiveStartKey=next_token)
              else:
                  break
  
          return rows
docs: Gets all items in file.