Home / Function/ test_manually_specify_rid_async() — langchain Function Reference

test_manually_specify_rid_async() — langchain Function Reference

Architecture documentation for the test_manually_specify_rid_async() function in test_agent_iterator.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  549754e3_f5d8_068c_0ffe_68cbeae5ff97["test_manually_specify_rid_async()"]
  2423e003_42f4_7c6a_3fba_30db54c07a0c["test_agent_iterator.py"]
  549754e3_f5d8_068c_0ffe_68cbeae5ff97 -->|defined in| 2423e003_42f4_7c6a_3fba_30db54c07a0c
  style 549754e3_f5d8_068c_0ffe_68cbeae5ff97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/agents/test_agent_iterator.py lines 263–271

async def test_manually_specify_rid_async() -> None:
    agent = _get_agent()
    run_id = UUID("f47ac10b-58cc-4372-a567-0e02b2c3d479")
    with collect_runs() as cb:
        res = agent.astream("bar", {"run_id": run_id})
        async for _ in res:
            pass
        run = cb.traced_runs[0]
        assert run.id == run_id

Domain

Subdomains

Frequently Asked Questions

What does test_manually_specify_rid_async() do?
test_manually_specify_rid_async() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/agents/test_agent_iterator.py.
Where is test_manually_specify_rid_async() defined?
test_manually_specify_rid_async() is defined in libs/langchain/tests/unit_tests/agents/test_agent_iterator.py at line 263.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free