
    f
                    h    d Z ddlmZ ddlZddlmZmZ erddlmZ  G d dej                  	      Z
y)
z&Abstract base class for kernel clients    )annotationsN)TYPE_CHECKINGAny   )
ChannelABCc                  F   e Zd ZdZej
                  dd       Zej
                  dd       Zej
                  dd       Zej
                  dd       Z	ej
                  dd       Z
ej
                  dd       Zej                  	 	 	 	 	 d	 	 	 	 	 	 	 	 	 	 	 dd       Zej                  dd	       Zej
                  dd
       Zej
                  dd       Zej
                  dd       Zej
                  dd       Zej
                  dd       Zej
                  dd       Zy)KernelClientABCzKernelManager ABC.

    The docstrings for this class can be found in the base implementation:

    `jupyter_client.client.KernelClient`
    c                     y N selfs    S/var/www/cvtools/html/venv/lib/python3.12/site-packages/jupyter_client/clientabc.pykernelzKernelClientABC.kernel            c                     y r   r   r   s    r   shell_channel_classz#KernelClientABC.shell_channel_class$   r   r   c                     y r   r   r   s    r   iopub_channel_classz#KernelClientABC.iopub_channel_class(   r   r   c                     y r   r   r   s    r   hb_channel_classz KernelClientABC.hb_channel_class,   r   r   c                     y r   r   r   s    r   stdin_channel_classz#KernelClientABC.stdin_channel_class0   r   r   c                     y r   r   r   s    r   control_channel_classz%KernelClientABC.control_channel_class4   r   r   c                     y)z"Start the channels for the client.Nr   )r   shelliopubstdinhbcontrols         r   start_channelszKernelClientABC.start_channels<   s     	r   c                     y)z!Stop the channels for the client.Nr   r   s    r   stop_channelszKernelClientABC.stop_channelsH        	r   c                     y)z%Get whether the channels are running.Nr   r   s    r   channels_runningz KernelClientABC.channels_runningM   r&   r   c                     y r   r   r   s    r   shell_channelzKernelClientABC.shell_channelR   r   r   c                     y r   r   r   s    r   iopub_channelzKernelClientABC.iopub_channelV   r   r   c                     y r   r   r   s    r   stdin_channelzKernelClientABC.stdin_channelZ   r   r   c                     y r   r   r   s    r   
hb_channelzKernelClientABC.hb_channel^   r   r   c                     y r   r   r   s    r   control_channelzKernelClientABC.control_channelb   r   r   N)returnr   )r3   ztype[ChannelABC])TTTTT)r   boolr   r4   r    r4   r!   r4   r"   r4   r3   None)r3   r5   )r3   r4   )r3   r   )__name__
__module____qualname____doc__abcabstractpropertyr   r   r   r   r   r   abstractmethodr#   r%   r(   r*   r,   r.   r0   r2   r   r   r   r	   r	      s    	  	  	  	  	  	  	 		 	 		
 	 	 
	 	 	  	  	  	  	  	  	 r   r	   )	metaclass)r9   
__future__r   r:   typingr   r   channelsabcr   ABCMetar	   r   r   r   <module>rB      s+    , # 
 %'L Lr   