code: def write_row(self, epinfo):
      if self.logger:
          self.logger.writerow(epinfo)
          self.f.flush()
  
imports: from gym.core import Wrapper
  import time
  from glob import glob
  import csv
  import os.path
  import json
label_desc: Use image node_id 2 for calling the ResultsWriter obj's underlying member method code with example usage: obj.write_row(epinfo) without return types