o
    -wÖiØ	  ã                   @  sF   d Z ddlmZ ddlmZ eG dd„ dƒƒZG dd„ dƒZeƒ ZdS )	a,  Module containing the WBURLs class and WBURL dataclass.

Used to store predefined URLs that can be associated with a name. The URLs are
shortened using with the `wandb.me` domain, using dub.co as the shortening service.
If the URLs need to be updates, use the dub.co service to point to the new URL.
é    )Úannotations)Ú	dataclassc                   @  s   e Zd ZU ded< ded< dS )ÚWBURLÚstrÚurlÚdescriptionN)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__© r   r   úO/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/wandb/errors/links.pyr      s   
 r   c                   @  s.   e Zd ZdZddd„Zddd	„Zdd
d„ZdS )ÚRegistryz8A collection of URLs that can be associated with a name.ÚreturnÚNonec              	   C  sD   t ddƒt ddƒt ddƒt ddƒt d	d
ƒt ddƒt ddƒdœ| _d S )Nzhttps://wandb.me/launchz%Link to the W&B launch marketing pagezhttps://wandb.me/wandb-initz3Link to the wandb.init reference documentation pagezhttps://wandb.me/define-metriczILink to the W&B developer guide documentation page on wandb.define_metricz https://wandb.me/developer-guidez.Link to the W&B developer guide top level pagezhttps://wandb.me/wandb-corez4Link to the documentation for the wandb-core servicezhttps://wandb.me/wandb-serverz8Link to the documentation for the self-hosted W&B serverzhttps://wandb.me/multiprocesszdLink to the W&B developer guide documentation page on how to use wandb in a multiprocess environment)zwandb-launchz
wandb-initzdefine-metriczdeveloper-guidez
wandb-corezwandb-serverÚmultiprocess)r   Úurls)Úselfr   r   r   Ú__init__   s:   þþþþþþýçzRegistry.__init__Únamer   c                 C  ó$   | j  |¡}|r|jS td|› ƒ‚)z+Get the URL associated with the given name.zURL not found for )r   Úgetr   Ú
ValueError©r   r   Úwb_urlr   r   r   r   9   ó   zRegistry.urlc                 C  r   )z3Get the description associated with the given name.zDescription not found for )r   r   r   r   r   r   r   r   r   @   r   zRegistry.descriptionN)r   r   )r   r   r   r   )r   r	   r
   Ú__doc__r   r   r   r   r   r   r   r      s
    

#r   N)r   Ú
__future__r   Údataclassesr   r   r   Úurl_registryr   r   r   r   Ú<module>   s    
6