o
    ™Mfz  ã                   @   sŠ   d dl mZ G dd„ deƒZedkrCd dlmZ eƒ Zeeeeƒƒ eeeeƒƒ G dd„ dƒZ	e	ƒ Z
eee
eƒƒ eedeƒƒ d	S d	S )
é    )ÚABCc                   @   s&   e Zd ZdZededefdd„ƒZdS )ÚRichRenderablea#  An abstract base class for Rich renderables.

    Note that there is no need to extend this class, the intended use is to check if an
    object supports the Rich renderable protocol. For example::

        if isinstance(my_object, RichRenderable):
            console.print(my_object)

    ÚotherÚreturnc                 C   s   t |dƒp	t |dƒS )z6Check if this class supports the rich render protocol.Ú__rich_console__Ú__rich__)Úhasattr)Úclsr   © r
   úV/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/pip/_vendor/rich/abc.pyÚ__subclasshook__   s   zRichRenderable.__subclasshook__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚclassmethodÚtypeÚboolr   r
   r
   r
   r   r      s    
r   Ú__main__)ÚTextc                   @   s   e Zd ZdS )ÚFooN)r   r   r   r
   r
   r
   r   r      s    r   Ú N)Úabcr   r   r   Úpip._vendor.rich.textr   ÚtÚprintÚ
isinstancer   Úfr
   r
   r
   r   Ú<module>   s    ô