* 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>
20 lines
473 B
Python
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"]
|