class_docstr: A Thread for running a zmq Authenticator
  
  This is run in the background by ThreadAuthenticator
class_docstr_tok: ["A","Thread","for","running","a","zmq","Authenticator","This","is","run","in","the","background","by","ThreadAuthenticator"]
docstr: Start the Authentication Agent thread task
docstr_tok: ["Start","the","Authentication","Agent","thread","task"]
code: def run(self) -> None:
      """Start the Authentication Agent thread task"""
  
      loop = asyncio.new_event_loop()
      try:
          loop.run_until_complete(self._run())
      finally:
          if self.pipe:
              self.pipe.close()
              self.pipe = None  # type: ignore
  
          loop.close()
  
file_path: catboost/contrib/python/pyzmq/py3/zmq/auth/thread.py
imports: import asyncio
  from threading import Event, Thread
  from typing import Any, List, Optional
  import zmq
  import zmq.asyncio
  from .base import Authenticator
label_desc: Use image node_id 2 for calling the AuthenticationThread obj's underlying member method code with example usage: obj.run() without return types