mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-31 18:38:48 +00:00
[Core] Add more interops tests (#26841)
To test that the client propagates both ways
This commit is contained in:
@@ -65,7 +65,7 @@ def test_example_id_assignment_threadsafe() -> None:
|
||||
def test_tracer_with_run_tree_parent() -> None:
|
||||
mock_session = unittest.mock.MagicMock()
|
||||
client = Client(session=mock_session, api_key="test")
|
||||
parent = RunTree(name="parent", inputs={"input": "foo"}, _client=client)
|
||||
parent = RunTree(name="parent", inputs={"input": "foo"}, _client=client) # type: ignore
|
||||
run_id = uuid.uuid4()
|
||||
tracer = LangChainTracer(client=client)
|
||||
tracer.order_map[parent.id] = (parent.trace_id, parent.dotted_order)
|
||||
|
Reference in New Issue
Block a user