original_docstring: Stop a discovery cycle if one is running.
  
          Returns:
              :obj:`dict`: discovery cycle metadata
          
docstring: Stop a discovery cycle if one is running.
docstring_tokens: Stop a discovery cycle if one is running .
code: def stop(self):
          """Stop a discovery cycle if one is running.
  
          Returns:
              :obj:`dict`: discovery cycle metadata
          """
          if self.is_running:
              self._stop()
          return self.get()
code_tokens: def stop ( self ) : if self . is_running : self . _stop ( ) return self . get ( )
short_docstring: Stop a discovery cycle if one is running.
short_docstring_tokens: Stop a discovery cycle if one is running .
comment: """Stop a discovery cycle if one is running.
  
          Returns:
              :obj:`dict`: discovery cycle metadata
          """