Skip to content

Commit

Permalink
Delete unused code: CacheAwareFunctionWrapper
Browse files Browse the repository at this point in the history
There no known roadmap items to implement local caching for
local graph executions. So let's delete this code.

Testing:

make check
make test
  • Loading branch information
eabatalov committed Dec 18, 2024
1 parent 8ed190c commit ee0afc6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
2 changes: 0 additions & 2 deletions python-sdk/indexify/functions_sdk/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
IndexifyRouter,
RouterCallResult,
)
from .local_cache import CacheAwareFunctionWrapper
from .object_serializer import get_serializer

RouterFn = Annotated[
Expand Down Expand Up @@ -86,7 +85,6 @@ def __init__(

# Storage for local execution
self._results: Dict[str, Dict[str, List[IndexifyData]]] = {}
self._cache = CacheAwareFunctionWrapper("./indexify_local_runner_cache")
self._accumulator_values: Dict[str, IndexifyData] = {}
self._local_graph_ctx: Optional[GraphInvocationContext] = None

Expand Down
46 changes: 0 additions & 46 deletions python-sdk/indexify/functions_sdk/local_cache.py

This file was deleted.

0 comments on commit ee0afc6

Please sign in to comment.