o
    b²“iN  ã                   @   s:   d dl mZ ddlmZ erd dlmZ G dd„ dƒZdS )é    )ÚTYPE_CHECKINGé   )ÚOperator)ÚDataContextc                   @   s:   e Zd ZdZddd„Zedefdd„ƒZedd	d
„ƒZdS )ÚPlanzÇAbstract class for logical/physical execution plans.

    This plan should hold an operator representing the plan DAG and any auxiliary data
    that's useful for plan optimization or execution.
    Úcontextr   c                 C   s
   || _ d S ©N©Ú_context)Úselfr   © r   ú^/home/ubuntu/.local/lib/python3.10/site-packages/ray/data/_internal/logical/interfaces/plan.pyÚ__init__   s   
zPlan.__init__Úreturnc                 C   s   t ‚r   )ÚNotImplementedError©r   r   r   r   Údag   s   zPlan.dagc                 C   s   | j S r   r	   r   r   r   r   r      s   zPlan.contextN)r   r   )r   r   )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   r   r   r   r   r   r   r   	   s    
r   N)Útypingr   Úoperatorr   Úray.datar   r   r   r   r   r   Ú<module>   s
    