diff --git a/litellm/types/caching.py b/litellm/types/caching.py index 7fca4c041..644c6e8be 100644 --- a/litellm/types/caching.py +++ b/litellm/types/caching.py @@ -1,5 +1,5 @@ from enum import Enum -from typing import Literal +from typing import Literal, TypedDict class LiteLLMCacheType(str, Enum): @@ -23,3 +23,13 @@ CachingSupportedCallTypes = Literal[ "arerank", "rerank", ] + + +class RedisPipelineIncrementOperation(TypedDict): + """ + TypeDict for 1 Redis Pipeline Increment Operation + """ + + key: str + increment_value: float + ttl_seconds: int