original_docstring: Convert any cached provider information into _FieldGroup
          information.  Delete the provider information.  This will be
          called automatically during frame processing if a provider
          session ends.  Once frame processing has completed, this
          function should be called, with no arguments, to flush any
          remaining provider sessions.
  
          Args:
              provs (list or None): list of provider identifiers to
                flush.  If None, flush all and also reset the
                self.session_id.
  
          Returns:
              None
  
          
docstring: Convert any cached provider information into _FieldGroup
  information.  Delete the provider information.  This will be
  called automatically during frame processing if a provider
  session ends.  Once frame processing has completed, this
  function should be called, with no arguments, to flush any
  remaining provider sessions.
docstring_tokens: Convert any cached provider information into _FieldGroup information . Delete the provider information . This will be called automatically during frame processing if a provider session ends . Once frame processing has completed this function should be called with no arguments to flush any remaining provider sessions .
code: def flush(self, provs=None):
          """Convert any cached provider information into _FieldGroup
          information.  Delete the provider information.  This will be
          called automatically during frame processing if a provider
          session ends.  Once frame processing has completed, this
          function should be called, with no arguments, to flush any
          remaining provider sessions.
  
          Args:
              provs (list or None): list of provider identifiers to
                flush.  If None, flush all and also reset the
                self.session_id.
  
          Returns:
              None
  
          """
          if provs is None:
              provs = list(self.providers.keys())
              self.session_id = None
          for p in provs:
              prov = self.providers.pop(p)
              blocks = prov.blocks
              for k, info in blocks.items():
                  fg = _FieldGroup(prov.prefix, info['fields'], info['start'],
                                   info['end'], info['index_info'])
                  self.field_groups.append(fg)
code_tokens: def flush ( self , provs = None ) : if provs is None : provs = list ( self . providers . keys ( ) ) self . session_id = None for p in provs : prov = self . providers . pop ( p ) blocks = prov . blocks for k , info in blocks . items ( ) : fg = _FieldGroup ( prov . prefix , info [ 'fields' ] , info [ 'start' ] , info [ 'end' ] , info [ 'index_info' ] ) self . field_groups . append ( fg )
short_docstring: Convert any cached provider information into _FieldGroup
  information.
short_docstring_tokens: Convert any cached provider information into _FieldGroup information .
comment: """Convert any cached provider information into _FieldGroup
          information.  Delete the provider information.  This will be
          called automatically during frame processing if a provider
          session ends.  Once frame processing has completed, this
          function should be called, with no arguments, to flush any
          remaining provider sessions.
  
          Args:
              provs (list or None): list of provider identifiers to
                flush.  If None, flush all and also reset the
                self.session_id.
  
          Returns:
              None
  
          """