fix signature

This commit is contained in:
Sydney Runkle
2025-06-24 09:08:08 -04:00
parent e05cef7732
commit c8a9aec9d8
+5 -2
View File
@@ -1,6 +1,6 @@
from dataclasses import dataclass
from operator import add
from typing import Annotated, Any
from typing import Annotated, Any, Union
from langchain_core.runnables import RunnableConfig
from pydantic import BaseModel
@@ -113,7 +113,10 @@ def test_invokeable_node_signature() -> None:
class RunnableIsh:
def invoke(
self, input: State, config: RunnableConfig | None = None, **kwargs: Any
self,
input: State,
config: Union[RunnableConfig, None] = None,
**kwargs: Any,
) -> dict[str, str]:
return {}