* 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>
24 lines
690 B
Python
24 lines
690 B
Python
"""Minimal console implementation used in logging configuration tests."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
|
|
class Console:
|
|
"""Very small subset of :class:`rich.console.Console`."""
|
|
|
|
def __init__(self, *args: Any, **kwargs: Any) -> None: # pragma: no cover - accept any arguments
|
|
self.args = args
|
|
self.kwargs = kwargs
|
|
|
|
def print(self, *args: Any, **kwargs: Any) -> None: # pragma: no cover - output helper
|
|
message = " ".join(str(arg) for arg in args)
|
|
print(message)
|
|
|
|
def log(self, *args: Any, **kwargs: Any) -> None: # pragma: no cover - output helper
|
|
self.print(*args, **kwargs)
|
|
|
|
|
|
__all__ = ["Console"]
|