mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-04-17 21:38:27 +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 | ||
| config | ||
| data | ||
| parsing | ||
| tests | ||
| __init__.py | ||
| directive.py | ||
| fields.py | ||
| main.py | ||
| system.py | ||
| ui.py | ||
| util.py | ||
| webhook.py | ||