no-impossible-pydantic-field-bounds
Pydantic field bounds must admit at least one value.
Why
Contradictory literal constraints reject every field value, including integer multiples and float intervals with no representable member.
Fix
Correct the conflicting bounds so the declared field domain admits the intended values.
Examples
from pydantic import BaseModel, Field
class Model(BaseModel): value: int = Field(gt=0, lt=1)from pydantic import BaseModel, Field
class Model(BaseModel): value: int = Field(ge=0, lt=1)