litellm/tests/unit/llms/valkey
Jonathan Neufeld b950e40f5a
test(valkey): cover lib-name connection identity; scope stub-gap type ignores
Assert lib_name="redis-py(litellm)" on the sync and async redis-py clients
built by the semantic cache and by the vector-store search paths.

types-redis 4.6 stubs shadow redis 5.3.1 and omit from_url(lib_name=...),
which added four reportCallIssue errors and tripped the basedpyright budget.
Scope a pyright ignore to each call, matching the existing stub-gap comments.
2026-09-30 12:45:10 -06:00
..
vector_stores test(valkey): cover lib-name connection identity; scope stub-gap type ignores 2026-09-30 12:45:10 -06:00
__init__.py test: migrate legacy provider tests to tests/unit (wave 2, phase 13) 2026-09-20 14:18:49 +00:00