o
    )i                     @   sP   d dl mZmZ erd dlmZ ee ZneZededZdedefddZd	S )
    )TYPE_CHECKINGTypeVar)DataclassInstanceConfigT)boundclsreturnc                 C   s   | S )a  
    A decorator that ensures all fields in a dataclass have default values
    and that each field has a docstring.

    If a `ConfigT` is used as a CLI argument itself, the `type` keyword argument
    provided by `get_kwargs` will be
    `pydantic.TypeAdapter(ConfigT).validate_json(cli_arg)` which treats the
    `cli_arg` as a JSON string which gets validated by `pydantic`.

    Config validation is performed by the tools/validate_config.py
    script, which is invoked during the pre-commit checks.
     )r   r	   r	   ]/home/app/PaddleOCR-VL-test/.venv_paddleocr/lib/python3.10/site-packages/vllm/config/utils.pyconfig   s   r   N)	typingr   r   Z	_typeshedr   typeZ
ConfigTyper   r   r	   r	   r	   r
   <module>   s   
