parameters: (self, thread=None)
return_statement: return self.records[thread]
docstring: Returns a list of records for the provided thread, of if none is
          provided, returns a list for the current thread.
docstring_summary: Returns a list of records for the provided thread, of if none is
          provided, returns a list for the current thread.
docstring_tokens: Returns a list of records for the provided thread of if none is provided returns a list for the current thread .
function: def get_records(self, thread=None):
          """
          Returns a list of records for the provided thread, of if none is
          provided, returns a list for the current thread.
          """
          if thread is None:
              thread = threading.currentThread()
          if thread not in self.records:
              self.records[thread] = []
          return self.records[thread]
function_tokens: def get_records ( self , thread = None ) : if thread is None : thread = threading . currentThread ( ) if thread not in self . records : self . records [ thread ] = [ ] return self . records [ thread ]