o
    x¡·i·  ã                   @   s(   d Z ddlmZmZ G dd„ deƒZdS )ú%Abstract base class for environments.é    )ÚABCÚabstractmethodc                   @   sr   e Zd ZU dZeed< eddd„ƒZedededdfd	d
„ƒZedededdfdd„ƒZ	ededdfdd„ƒZ
dS )ÚAbstractEnvironmentr   ÚregionÚreturnNc                 Ã   ó   t ‚)z4Verify that the environment is configured correctly.©ÚNotImplementedError)Úself© r   úY/home/ubuntu/.local/lib/python3.10/site-packages/wandb/sdk/launch/environment/abstract.pyÚverify   ó   €zAbstractEnvironment.verifyÚsourceÚdestinationc                 Ã   r   )zFUpload a file from the local filesystem to storage in the environment.r	   ©r   r   r   r   r   r   Úupload_file   r   zAbstractEnvironment.upload_filec                 Ã   r   )zPUpload the contents of a directory from the local filesystem to the environment.r	   r   r   r   r   Ú
upload_dir   r   zAbstractEnvironment.upload_dirÚuric                 Ã   r   )z4Verify that the storage URI is configured correctly.r	   )r   r   r   r   r   Úverify_storage_uri   r   z&AbstractEnvironment.verify_storage_uri)r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚ__annotations__r   r   r   r   r   r   r   r   r   r      s   
 r   N)r   Úabcr   r   r   r   r   r   r   Ú<module>   s    