o
    qo™iÎ  ã                   @   sd   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
mZ ddlmZ G d	d
„ d
eƒZdS )z
Launcher plugin interface
é    )Úabstractmethod)ÚSequence)Ú
DictConfig)Ú	JobReturn)ÚTaskFunctionÚHydraContexté   )ÚPluginc                	   @   sP   e Zd Zededededdfdd„ƒZedeee	  d	e
dee fd
d„ƒZdS )ÚLauncherÚhydra_contextÚtask_functionÚconfigÚreturnNc                C   ó   t ƒ ‚)z1
        Sets this launcher instance up.
        ©ÚNotImplementedError)Úselfr   r   r   © r   úJ/home/ubuntu/.local/lib/python3.10/site-packages/hydra/plugins/launcher.pyÚsetup   s   zLauncher.setupÚjob_overridesÚinitial_job_idxc                 C   r   )z 
        :param job_overrides: a batch of job arguments
        :param initial_job_idx: Initial job idx. used by sweepers that executes several batches
        r   )r   r   r   r   r   r   Úlaunch   s   zLauncher.launch)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   ÚstrÚintr   r   r   r   r   r   r
      s&    ýüûú
ÿÿþr
   N)Ú__doc__Úabcr   Útypingr   Ú	omegaconfr   Úhydra.core.utilsr   Úhydra.typesr   r   Úpluginr	   r
   r   r   r   r   Ú<module>   s   