o
    $i                     @   s&   d dl mZ d dlZG dd dZdS )    )ListNc                   @   s4   e Zd ZdZded fddZded fddZd	S )
CommunicatorHandlezv
    A lightweight communicator handle used by the driver to store handles to
    the actors in the communicator.
    actor_handleszray.actor.ActorHandlec                 C   s
   || _ dS )z
        Initializes the CommunicatorHandle with the given actor handles.

        Args:
            actor_handles: A list of actor handles to be stored.
        N_actor_handles)selfr    r   i/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/ray/experimental/channel/communicator_handle.py__init__   s   

zCommunicatorHandle.__init__returnc                 C   s   | j S )z@
        Retuan all actor handles in this communicator.
        r   )r   r   r   r	   get_actor_handles   s   z$CommunicatorHandle.get_actor_handlesN)__name__
__module____qualname____doc__r   r
   r   r   r   r   r	   r      s    
r   )typingr   rayr   r   r   r   r	   <module>   s    