o
    º¼tf  ã                   @  sD   d dl mZ d dlZddgZG dd„ dejƒZG dd„ dejƒZdS )é    )ÚannotationsNÚProviderProtocolÚTilesetProtocolc                   @  s   e Zd ZdZeddd„ƒZdS )r   z3A protocol for a provider that can serve resources.ÚreturnÚstrc                 C  ó   dS )zThe URL for this provider.N© ©Úselfr   r   úZ/var/www/html/software/conda/envs/catlas/lib/python3.10/site-packages/servir/_protocols.pyÚurl   ó   zProviderProtocol.urlN©r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   r   r   r   r   r      s    c                   @  s2   e Zd ZdZeddd„ƒZdd	d
„Zddd„ZdS )r   zRepresents a HiGlass Tileset.r   r   c                 C  r   )z'The unique identifier for this tileset.Nr   r	   r   r   r   Úuid   r   zTilesetProtocol.uidÚtile_idsútyping.Sequence[str]úlist[typing.Any]c                 C  r   )zäGet the tiles for the given tile IDs.

        Parameters
        ----------
        tile_ids : list[str]
            The tile IDs to get.

        Returns
        -------
        list[typing.Any]
            The tiles.
        Nr   )r
   r   r   r   r   Útiles   s   zTilesetProtocol.tilesúdict[str, typing.Any]c                 C  r   )zŒGet the tileset info for this tileset.

        Returns
        -------
        dict[str, typing.Any]
            The tileset info.
        Nr   r	   r   r   r   Úinfo+   s   zTilesetProtocol.infoNr   )r   r   r   r   )r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r      s    
)Ú
__future__r   ÚtypingÚ__all__ÚProtocolr   r   r   r   r   r   Ú<module>   s    þ	