o
    Vh                     @  s   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 d dl	m
Z
 d dlmZ d dlmZ d d	lmZ er>d d
lmZ G dd dZdS )    )annotations)TYPE_CHECKING)Any)Application)Command)Argument)
Definition)Option)Type)IOc                   @  sT   e Zd Zd&dd	Zd'd(ddZd)ddZd*ddZd+ddZd,dd Zd-d#d$Z	d%S ).
Descriptorior   objr   optionsreturnNonec                 K  s   || _ t|tr| j|fi | d S t|tr#| j|fi | d S t|tr3| j|fi | d S t|trC| j	|fi | d S t|t
rS| j|fi | d S d S N)_io
isinstancer   _describe_argumentr	   _describe_optionr   _describe_definitionr   _describe_commandr   _describe_application)selfr   r   r    r   o/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/cleo/descriptors/descriptor.pydescribe   s   




zDescriptor.describeTcontentstr	decoratedboolc                 C  s"   | j j|d|r
tjntjd d S )NF)new_linetype)r   writer
   NORMALRAW)r   r   r    r   r   r   _write!   s   
zDescriptor._writeargumentr   c                 K     t r   NotImplementedError)r   r(   r   r   r   r   r   &      zDescriptor._describe_argumentoptionr	   c                 K  r)   r   r*   )r   r-   r   r   r   r   r   )   r,   zDescriptor._describe_option
definitionr   c                 K  r)   r   r*   )r   r.   r   r   r   r   r   ,   r,   zDescriptor._describe_definitioncommandr   c                 K  r)   r   r*   )r   r/   r   r   r   r   r   /   r,   zDescriptor._describe_commandapplicationr   c                 K  r)   r   r*   )r   r0   r   r   r   r   r   2   r,   z Descriptor._describe_applicationN)r   r   r   r   r   r   r   r   )T)r   r   r    r!   r   r   )r(   r   r   r   r   r   )r-   r	   r   r   r   r   )r.   r   r   r   r   r   )r/   r   r   r   r   r   )r0   r   r   r   r   r   )
__name__
__module____qualname__r   r'   r   r   r   r   r   r   r   r   r   r      s    




r   N)
__future__r   typingr   r   cleo.applicationr   cleo.commands.commandr   cleo.io.inputs.argumentr   cleo.io.inputs.definitionr   cleo.io.inputs.optionr	   cleo.io.outputs.outputr
   
cleo.io.ior   r   r   r   r   r   <module>   s    