o
    Vh                     @  sT   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)InstallCommand)Optionc                   @  s@   e Zd ZU dZdZdd ejD Zded< dZe	dd
dZ
dS )SyncCommandsyncz;Update the project's environment according to the lockfile.c                 C  s   g | ]	}|j d kr|qS )r   )name).0opt r   p/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/poetry/console/commands/sync.py
<listcomp>   s    zSyncCommand.<listcomp>zClassVar[list[Option]]optionsa`  The <info>sync</info> command makes sure that the project's environment is in sync with
the <comment>poetry.lock</> file.
It is equivalent to running <info>poetry install --sync</info>.

<info>poetry sync</info>

By default, the above command will also install the current project. To install only the
dependencies and not including the current project, run the command with the
<info>--no-root</info> option like below:

<info> poetry sync --no-root</info>

If you want to use Poetry only for dependency management but not for packaging,
you can set the "package-mode" to false in your pyproject.toml file.
returnboolc                 C  s   dS )NTr   )selfr   r   r   _with_synchronization&   s   z!SyncCommand._with_synchronizationN)r   r   )__name__
__module____qualname__r	   descriptionr   r   __annotations__helppropertyr   r   r   r   r   r      s   
 r   N)

__future__r   typingr   r   poetry.console.commands.installr   cleo.io.inputs.optionr   r   r   r   r   r   <module>   s    