Jason Hall
af7cf95968
Merge branch 'main' into computroniks/bug/#311-fix-field-validation
2025-09-27 20:58:59 -04:00
Jason Hall
cf137bd7e8
format and lint
2025-06-14 21:44:20 -04:00
Jelson Stoelben Rodrigues
23522da754
fix: ensure query_target is transformed after validation
...
Transformation must occur after validation, or else the transformation will possibly make the validation fail
2025-06-09 21:37:14 -04:00
Mattie Nickson
b7e268bf18
Fixed API docs rendering
...
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>
2025-06-06 10:08:59 +01:00
thatmattlove
ee5a418264
fix import sorting
2024-05-27 16:25:47 -04:00
thatmattlove
e84cc4ac00
remove deprecated pydantic constr usage
2024-05-27 14:41:04 -04:00
thatmattlove
e6b6ab5812
remove test function
2024-04-01 23:45:56 -04:00
thatmattlove
d2f734ba1c
logging overhaul
2024-04-01 23:42:07 -04:00
thatmattlove
a8476f2ea9
fix import sorting
2024-03-17 16:04:41 -04:00
thatmattlove
74827c02b9
fix unused import
2024-03-17 16:04:00 -04:00
thatmattlove
77c0a31256
upgrade major dependencies
2024-03-16 23:17:54 -04:00
thatmattlove
20ae02e2e5
fix & clean up api response models
2024-03-03 00:21:08 -05:00
thatmattlove
99ec07d055
fix issues causing test failure
2024-03-01 23:19:08 -05:00
thatmattlove
446853e4a9
countless updates I mostly don't remember.
2023-04-13 23:05:05 -04:00
thatmattlove
9c9a8469a4
replace flake8 with ruff for linting, refactor issues
2022-12-24 17:53:05 -05:00
thatmattlove
fc3ba3a8be
clean up unused parameters and start work on 2.0.0 docs
2022-12-12 18:52:39 -05:00
thatmattlove
60429ebbc1
commit previous changes and dep updates
2022-12-11 17:30:20 -05:00
thatmattlove
9300105d9f
#142 : Start multiple query target implementation
2021-12-23 00:00:35 -07:00
thatmattlove
dfca1a5bc1
Move isort configuration to pyproject.toml
2021-12-22 22:22:01 -07:00
thatmattlove
56432013e0
Closes #177 : Remove unnecessary method from http logging
2021-12-08 23:20:30 -07:00
thatmattlove
c049569cab
Update black
2021-12-06 17:12:30 -07:00
thatmattlove
fbe778a605
Improve logging
2021-09-26 16:50:25 -07:00
thatmattlove
e73de24904
Implement input-plugin-based validation, implement common plugins
2021-09-26 11:39:46 -07:00
thatmattlove
c2240d92c6
Remove query_group from query fields
2021-09-25 21:50:51 -07:00
thatmattlove
89568dc8e5
Deprecate Device.network
2021-09-24 00:16:26 -07:00
thatmattlove
7d5d64c0e2
Plugin/directive fixes
2021-09-21 07:54:16 -07:00
thatmattlove
bb1e66c2ef
Implement better __repr__ generator
2021-09-16 15:35:12 -07:00
thatmattlove
4792269168
Fix query JSON serialization
2021-09-16 13:59:39 -07:00
thatmattlove
e06ea5ecb9
Add separate hooks for major state objects, add tests
2021-09-16 13:46:50 -07:00
thatmattlove
c99f98a6f0
Complete global state implementation
2021-09-15 18:25:37 -07:00
thatmattlove
74fcb5dba4
Continue output plugin implementation
2021-09-12 18:27:33 -07:00
thatmattlove
52ebf4663c
Update code formatting - line length
2021-09-12 15:09:24 -07:00
thatmattlove
dc274992b8
Clean up API routes
2021-09-11 13:56:20 -07:00
thatmattlove
5ccfe50792
Complete directives implementation, refactor exceptions, deprecate VRFs, bump minimum Python version
2021-09-07 22:58:39 -07:00
checktheroads
f40004b38f
continue generic command work
2021-06-23 19:11:59 -07:00
checktheroads
4c12f13d43
Closes #139 : Enable querying by device hostname as well as internal ID
2021-05-29 21:48:59 -07:00
checktheroads
e4f4eb85b0
remove requirement for default VRF to be named default, closes #29
2021-02-25 23:38:57 -07:00
checktheroads
72269f38f5
consolidate name & display name fields, closes #115
2021-02-10 00:43:40 -07:00
checktheroads
59e767e501
clean up data models [skip ci]
2020-12-13 01:48:35 -07:00
checktheroads
6b188e446c
import formatting imporvements
2020-10-11 13:14:57 -07:00
checktheroads
69cb304b6d
restructure location of models for cleaner importing/exporting
2020-10-05 12:09:17 -07:00