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:
@@ -235,7 +235,7 @@ def test_inherit_run_name_with_chain() -> None:
|
||||
captured_names: list[str] = []
|
||||
|
||||
class TestCallbackHandler(BaseCallbackHandler):
|
||||
def on_chain_start(
|
||||
def on_chain_start( # noqa: ARG002
|
||||
self, serialized: dict[str, Any], inputs: dict[str, Any], **kwargs: Any
|
||||
) -> None:
|
||||
name = kwargs.get("name", "unnamed")
|
||||
@@ -372,3 +372,4 @@ def test_inherit_run_name_merge_configs() -> None:
|
||||
assert ensured.get("run_name") == "test_run", "run_name should be preserved"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user