mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
The use of `strip_whitespace` in `Field` for the query validation model caused the automatic generation of the API docs to fail with `ValueError: `schema_extra` declares key `strip_whitespace` which does not exist in `Schema` object`. By switching from `Field` to `Annotated` with `StringConstraints`, this avoids this issue allowing API docs to be correctly rendered. Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com> |
||
|---|---|---|
| .. | ||
| api | ||
| cli | ||
| compat | ||
| configuration | ||
| defaults | ||
| exceptions | ||
| execution | ||
| external | ||
| frontend | ||
| images | ||
| models | ||
| plugins | ||
| state | ||
| ui | ||
| util | ||
| .gitignore | ||
| __init__.py | ||
| console.py | ||
| constants.py | ||
| log.py | ||
| main.py | ||
| settings.py | ||
| types.py | ||