Files
biz-bud/tests/stubs/langgraph/store/base.py
Travis Vasceannie 8ad47a7640 Modernize research graph metadata for LangGraph v1 (#60)
* Modernize research graph metadata for LangGraph v1

* Update src/biz_bud/core/langgraph/graph_builder.py

Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>

---------

Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
2025-09-19 03:01:18 -04:00

20 lines
473 B
Python

"""Store base classes used by the LangGraph stub."""
from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
@runtime_checkable
class BaseStore(Protocol):
"""Protocol capturing the minimal store interface used in tests."""
def put(self, key: str, value: Any) -> None: # pragma: no cover - interface only
...
def get(self, key: str) -> Any: # pragma: no cover - interface only
...
__all__ = ["BaseStore"]