a
    õ£Be  ã                   @   sZ   d Z ddlZddlmZmZ ddlZddlmZ ejde	dd� G d	d
„ d
eƒZ
d
gZdS )zúZAP Authenticator integrated with the tornado IOLoop.

.. versionadded:: 14.1
.. deprecated:: 25
    Use asyncio.AsyncioAuthenticator instead.
    Since tornado runs on asyncio, the asyncio authenticator
    offers the same functionality in tornado.
é    N)ÚAnyÚOptionalé   )ÚAsyncioAuthenticatorz\zmq.auth.ioloop.IOLoopAuthenticator is deprecated. Use zmq.auth.asyncio.AsyncioAuthenticatoré   ©Ú
stacklevelc                       s2   e Zd ZdZded eeedœ‡ fdd„Z‡  ZS )	ÚIOLoopAuthenticatorz0ZAP authentication for use in the tornado IOLoopNúutf-8zzmq.Context)ÚcontextÚencodingÚlogÚio_loopc                    sD   d }|d ur,t j| jj› d�tdd� |j}tƒ j||||d� d S )Nz#(io_loop) is deprecated and ignoredr   r   )r   r   r   Úloop)ÚwarningsÚwarnÚ	__class__Ú__name__ÚDeprecationWarningZasyncio_loopÚsuperÚ__init__)Úselfr   r   r   r   r   ©r   © úR/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/zmq/auth/ioloop.pyr      s    ýzIOLoopAuthenticator.__init__)Nr
   NN)	r   Ú
__module__Ú__qualname__Ú__doc__r   Ústrr   r   Ú__classcell__r   r   r   r   r	      s       ûûr	   )r   r   Útypingr   r   ZzmqÚasyncior   r   r   r	   Ú__all__r   r   r   r   Ú<module>   s   	ý