honcho/tests
doria 41bf5adc92
feat: add complex arbitrary filtering on all objects (#140)
* feat: add complex arbitrary filtering on all objects

* fix: safe numeric casting and application of comparators

* fix: add way more tests, fix bugs with filter parsing

* chore: pass model_class as arugment to apply_filter

* fix: default to not caring about is_active in get_sessions_for_peer

* fix: address coderabbit complaints (valid)

* fix: throw filter errors when necessary, validate inputs and handle edge cases with more tests

* fix: remove all type errors and most type warnings

* fix: don't use db in tests that don't need it
cheat: sprinkle in some pyright: ignore in filter.py

* fix: allowlist for filtering -- no filtering by content, message id, or anything internal

* fix: handle mixed types in metadata, add tests

* chore: refine types

* chore: rename fiter param everywhere
2025-06-26 12:25:30 -04:00
..
integration Typing (#137) 2025-06-24 18:29:13 -04:00
routes feat: add complex arbitrary filtering on all objects (#140) 2025-06-26 12:25:30 -04:00
__init__.py [0.0.10] Release 2024-07-25 13:45:27 -04:00
conftest.py Typing (#137) 2025-06-24 18:29:13 -04:00
test_advanced_filters.py feat: add complex arbitrary filtering on all objects (#140) 2025-06-26 12:25:30 -04:00
test_agent.py Typing (#137) 2025-06-24 18:29:13 -04:00
test_schema_validations.py Typing (#137) 2025-06-24 18:29:13 -04:00