معرفی شرکت ها


flake8-pydantic-fields-0.1.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل flake8-pydantic-fields-0.1.9
نام flake8-pydantic-fields
نسخه کتابخانه 0.1.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/flake8-pydantic-fields/
مجوز -
# flake8-pydantic-fields A flake8 plugin that checks that Pydantic models have default values which are Fields, and that those fields have descriptions. This encourages data documentation. This package adds the following warnings: - `PF001`: A Pydantic field which has no default. - `PF002`: A Pydantic field with a default that is not a Field. - `PF002`: A Pydantic field which has a Field default with no description. There are no configuration options at this time. This package uses heuristics to determine whether a class is a Pydantic model. While this could be accomplished by running the code, that is not in the spirit of static analyzers, and it would be considerably slower. The heuristics are: It is not a Pydantic model if: - The class has no base classes. - The class is annotated with `@dataclass`. It is a Pydantic model if: - The name of the base class is `BaseModel` or `GenericModel`. - The class contains only annotated assignments. - The class has at least one method decorated with `@validator` or `@root_validator`. - The class contains an inner `Config` class. - The class contains only methods with no arguments other than `self`. These are assumed to be transformations on a data model. - The class contains an attribute annotated as a `ClassVar`.


زبان مورد نیاز

مقدار نام
>=3.10,<3.11 Python


نحوه نصب


نصب پکیج whl flake8-pydantic-fields-0.1.9:

    pip install flake8-pydantic-fields-0.1.9.whl


نصب پکیج tar.gz flake8-pydantic-fields-0.1.9:

    pip install flake8-pydantic-fields-0.1.9.tar.gz