o
    Vhp                     @  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 er&d dl	m
Z
 G dd deZd	S )
    )annotations)TYPE_CHECKING)ClassVar)option)InstallerCommand)Optionc                   @  sH   e Zd ZU dZdZedddgZded< dZd	gZ	d
ed< dddZ
dS )LockCommandlockzLocks the project dependencies.
regenerateNzUIgnore existing lock file and overwrite it with a new lock file created from scratch.zClassVar[list[Option]]optionsa,  
The <info>lock</info> command reads the <comment>pyproject.toml</> file from the
current directory, processes it, and locks the dependencies in the <comment>poetry.lock</>
file.
By default, packages that have already been added to the lock file before
will not be updated.

<info>poetry lock</info>
z#poetry.repositories.pypi_repositoryzClassVar[list[str]]loggersreturnintc                 C  s   | j j| dd | j  S )Nr
   )update)	installerr	   r   run)self r   p/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/poetry/console/commands/lock.pyhandle)   s   
zLockCommand.handle)r   r   )__name__
__module____qualname__namedescriptionr   r   __annotations__helpr   r   r   r   r   r   r      s   
 	r   N)
__future__r   typingr   r   cleo.helpersr   )poetry.console.commands.installer_commandr   cleo.io.inputs.optionr   r   r   r   r   r   <module>   s    