def get_requests_from_dictionary(self, path):
    rows = []
    with tf.gfile.GFile(path, 'r') as f:
        for line in f:
            row_dict = eval(line)
            rows.append(self.generate_rest_request_from_dictionary(row_dict))
    return rows
def get_requests_from_dictionary(self, path):
    rows = []
    with tf.gfile.GFile(path, 'r') as f:
        for line in f:
            row_dict = eval(line)
            rows.append(self.generate_rest_request_from_dictionary(row_dict))
    return rows