o
    ¹i   ã                   @   s<   d Z ddlmZ dZg d¢Zdadd„ Zdd	„ ZeZeZ	dS )
a7  Comm package.

Copyright (c) IPython Development Team.
Distributed under the terms of the Modified BSD License.

This package provides a way to register a Kernel Comm implementation, as per the Jupyter kernel protocol.
It also provides a base Comm implementation and a default CommManager for the IPython case.
é   )ÚCommManagerz0.1.2)Úcreate_commÚget_comm_managerÚ__version__Nc                  O   s   t dƒ‚)zgCreate a Comm.

    This method is intended to be replaced, so that it returns your Comm instance.
    zCannot )ÚNotImplementedError)ÚargsÚkwargs© r	   úH/var/www/edux/Edux_v2/venv/lib/python3.10/site-packages/comm/__init__.pyÚ_create_comm   s   r   c                   C   s   t du rtƒ a t S )z¥Get the current Comm manager, creates one if there is none.

    This method is intended to be replaced if needed (if you want to manage multiple CommManagers).
    N)Ú_comm_managerr   r	   r	   r	   r
   Ú_get_comm_manager   s   r   )
Ú__doc__Ú	base_commr   r   Ú__all__r   r   r   r   r   r	   r	   r	   r
   Ú<module>   s    	