parameters: (self,
                            str,
                            status=preprocess_table_pb2.Status.UNKNOWN)
docstring: status: 0 for success, 1 for fail, 2 for unknown
docstring_summary: status: 0 for success, 1 for fail, 2 for unknown
docstring_tokens: status : 0 for success 1 for fail 2 for unknown
function: def print_and_publish(self,
                            str,
                            status=preprocess_table_pb2.Status.UNKNOWN):
          """status: 0 for success, 1 for fail, 2 for unknown"""
          print(str)
          self.progress.log_string = str
          self.progress.status = status
          self.writer.write(self.progress)
          time.sleep(0.5)
function_tokens: def print_and_publish ( self , str , status = preprocess_table_pb2 . Status . UNKNOWN ) : print ( str ) self . progress . log_string = str self . progress . status = status self . writer . write ( self . progress ) time . sleep ( 0.5 )