| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
… (and others) in `Field`
|
This pull request has a merge conflict that needs to be resolved. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR updates type hints for gt, ge, lt, le parameters of Field to be in line with Pydantic's version:
Also, added some tests for these parameters
You can currently use parameters like gt, ge, etc.. for types of fields other than int \ float:
... but mypy will argue:
This PR fixes this