mirror of
https://github.com/hwchase17/langchain.git
synced 2026-07-16 00:19:35 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -302,8 +302,11 @@ def test_inherit_run_name_with_override() -> None:
|
||||
captured_names: list[str] = []
|
||||
|
||||
class TestCallbackHandler(BaseCallbackHandler):
|
||||
def on_chain_start( # noqa: ARG002
|
||||
self, serialized: dict[str, Any], inputs: dict[str, Any], **kwargs: Any
|
||||
def on_chain_start(
|
||||
self,
|
||||
serialized: dict[str, Any], # noqa: ARG002
|
||||
inputs: dict[str, Any], # noqa: ARG002
|
||||
**kwargs: Any
|
||||
) -> None:
|
||||
name = kwargs.get("name", "unnamed")
|
||||
captured_names.append(name)
|
||||
@@ -378,3 +381,4 @@ def test_inherit_run_name_merge_configs() -> None:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user