Files
tfm_ainventory/graphify-out/cache/25700fdcbd6ce0b4486dc372da94c7076555dd39e7e72cb21f50d4eaa71d7cec.json

1 line
45 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "label": "test_async_stream.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L1"}, {"id": "test_async_stream_mockhttpxresponse", "label": "MockHTTPXResponse", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L50"}, {"id": "test_async_stream_mockhttpxresponse_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L53"}, {"id": "test_async_stream_mockhttpxresponse_async_line_iterator", "label": "._async_line_iterator()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L60"}, {"id": "test_async_stream_mockaiohttpresponse", "label": "MockAIOHTTPResponse", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L65"}, {"id": "test_async_stream_mockaiohttpresponse_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L67"}, {"id": "test_async_stream_mockaiohttpresponse_async_read_line", "label": "._async_read_line()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L76"}, {"id": "test_async_stream_responses", "label": "responses()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L92"}, {"id": "test_async_stream_reset_has_aiohttp", "label": "reset_has_aiohttp()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L102"}, {"id": "test_async_stream_test_invalid_response_stream_type", "label": "test_invalid_response_stream_type()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L107"}, {"id": "test_async_stream_test_httpx_simple_lines", "label": "test_httpx_simple_lines()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L126"}, {"id": "test_async_stream_test_httpx_data_prefix", "label": "test_httpx_data_prefix()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L139"}, {"id": "test_async_stream_test_httpx_multiple_json_chunk", "label": "test_httpx_multiple_json_chunk()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L152"}, {"id": "test_async_stream_test_httpx_incomplete_json_at_end", "label": "test_httpx_incomplete_json_at_end()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L170"}, {"id": "test_async_stream_test_httpx_empty_stream", "label": "test_httpx_empty_stream()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L184"}, {"id": "test_async_stream_test_aiohttp_simple_lines", "label": "test_aiohttp_simple_lines()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L199"}, {"id": "test_async_stream_test_aiohttp_data_prefix", "label": "test_aiohttp_data_prefix()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L215"}, {"id": "test_async_stream_test_aiohttp_multiple_json_chunks", "label": "test_aiohttp_multiple_json_chunks()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L231"}, {"id": "test_async_stream_test_aiohttp_incomplete_json_at_end", "label": "test_aiohttp_incomplete_json_at_end()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L252"}, {"id": "test_async_stream_mock_response", "label": "mock_response()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L268"}, {"id": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "label": "test_error_event_in_streamed_responses_bad_json()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L278"}, {"id": "test_async_stream_test_error_event_in_streamed_responses", "label": "test_error_event_in_streamed_responses()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L303"}, {"id": "test_async_stream_test_error_event_in_generate_content_stream", "label": "test_error_event_in_generate_content_stream()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L323"}, {"id": "test_async_stream_async_httpx_response", "label": "_async_httpx_response()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L353"}, {"id": "test_async_stream_test_error_event_in_streamed_responses_async", "label": "test_error_event_in_streamed_responses_async()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L365"}, {"id": "test_async_stream_test_error_event_in_generate_content_stream_async", "label": "test_error_event_in_generate_content_stream_async()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L394"}, {"id": "test_async_stream_rationale_51", "label": "Mock httpx.Response class for testing.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L51"}, {"id": "test_async_stream_rationale_108", "label": "Tests that an invalid response stream type raises an error.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L108"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "asyncio", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "unittest", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "unittest_mock", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "pytest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "aiohttp", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L28", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "httpx", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L35", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L37", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L38", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L39", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "backend_venv_lib_python3_12_site_packages_google_genai_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L40", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_mockhttpxresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L50", "weight": 1.0}, {"source": "test_async_stream_mockhttpxresponse", "target": "test_async_stream_mockhttpxresponse_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L53", "weight": 1.0}, {"source": "test_async_stream_mockhttpxresponse", "target": "test_async_stream_mockhttpxresponse_async_line_iterator", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L60", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_mockaiohttpresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L65", "weight": 1.0}, {"source": "test_async_stream_mockaiohttpresponse", "target": "test_async_stream_mockaiohttpresponse_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L67", "weight": 1.0}, {"source": "test_async_stream_mockaiohttpresponse", "target": "test_async_stream_mockaiohttpresponse_async_read_line", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L76", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_responses", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L92", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_reset_has_aiohttp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L102", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_invalid_response_stream_type", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L107", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_httpx_simple_lines", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L126", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_httpx_data_prefix", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L139", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_httpx_multiple_json_chunk", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L152", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_httpx_incomplete_json_at_end", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L170", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_httpx_empty_stream", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L184", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_aiohttp_simple_lines", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L199", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_aiohttp_data_prefix", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L215", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_aiohttp_multiple_json_chunks", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L231", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_aiohttp_incomplete_json_at_end", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L252", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_mock_response", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L268", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L278", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_error_event_in_streamed_responses", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L303", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_error_event_in_generate_content_stream", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L323", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_async_httpx_response", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L353", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_error_event_in_streamed_responses_async", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L365", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_client_test_async_stream_py", "target": "test_async_stream_test_error_event_in_generate_content_stream_async", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L394", "weight": 1.0}, {"source": "test_async_stream_mockhttpxresponse_init", "target": "test_async_stream_mockhttpxresponse_async_line_iterator", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L56", "weight": 1.0}, {"source": "test_async_stream_test_httpx_simple_lines", "target": "test_async_stream_mockhttpxresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L128", "weight": 1.0}, {"source": "test_async_stream_test_httpx_data_prefix", "target": "test_async_stream_mockhttpxresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L141", "weight": 1.0}, {"source": "test_async_stream_test_httpx_multiple_json_chunk", "target": "test_async_stream_mockhttpxresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L159", "weight": 1.0}, {"source": "test_async_stream_test_httpx_incomplete_json_at_end", "target": "test_async_stream_mockhttpxresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L172", "weight": 1.0}, {"source": "test_async_stream_test_httpx_empty_stream", "target": "test_async_stream_mockhttpxresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L186", "weight": 1.0}, {"source": "test_async_stream_test_aiohttp_simple_lines", "target": "test_async_stream_mockaiohttpresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L203", "weight": 1.0}, {"source": "test_async_stream_test_aiohttp_data_prefix", "target": "test_async_stream_mockaiohttpresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L219", "weight": 1.0}, {"source": "test_async_stream_test_aiohttp_multiple_json_chunks", "target": "test_async_stream_mockaiohttpresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L240", "weight": 1.0}, {"source": "test_async_stream_test_aiohttp_incomplete_json_at_end", "target": "test_async_stream_mockaiohttpresponse", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L258", "weight": 1.0}, {"source": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "target": "test_async_stream_mock_response", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L284", "weight": 1.0}, {"source": "test_async_stream_test_error_event_in_streamed_responses", "target": "test_async_stream_mock_response", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L304", "weight": 1.0}, {"source": "test_async_stream_test_error_event_in_generate_content_stream", "target": "test_async_stream_mock_response", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L324", "weight": 1.0}, {"source": "test_async_stream_rationale_51", "target": "test_async_stream_mockhttpxresponse", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L51", "weight": 1.0}, {"source": "test_async_stream_rationale_108", "target": "test_async_stream_test_invalid_response_stream_type", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L108", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_async_stream_mockhttpxresponse_init", "callee": "MagicMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L54"}, {"caller_nid": "test_async_stream_mockhttpxresponse_init", "callee": "MagicMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L55"}, {"caller_nid": "test_async_stream_mockhttpxresponse_init", "callee": "AsyncMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L58"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_init", "callee": "MagicMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L68"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_init", "callee": "AsyncMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L69"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_init", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L71"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_init", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L71"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_init", "callee": "MagicMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L74"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_async_read_line", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L77"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_async_read_line", "callee": "find", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L80"}, {"caller_nid": "test_async_stream_mockaiohttpresponse_async_read_line", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L83"}, {"caller_nid": "test_async_stream_responses", "callee": "HttpResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L93"}, {"caller_nid": "test_async_stream_test_invalid_response_stream_type", "callee": "raises", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L110"}, {"caller_nid": "test_async_stream_test_invalid_response_stream_type", "callee": "run", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L122"}, {"caller_nid": "test_async_stream_test_invalid_response_stream_type", "callee": "run", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L122"}, {"caller_nid": "test_async_stream_test_httpx_simple_lines", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L131"}, {"caller_nid": "test_async_stream_test_httpx_simple_lines", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L134"}, {"caller_nid": "test_async_stream_test_httpx_simple_lines", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L135"}, {"caller_nid": "test_async_stream_test_httpx_data_prefix", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L144"}, {"caller_nid": "test_async_stream_test_httpx_data_prefix", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L147"}, {"caller_nid": "test_async_stream_test_httpx_data_prefix", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L148"}, {"caller_nid": "test_async_stream_test_httpx_multiple_json_chunk", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L162"}, {"caller_nid": "test_async_stream_test_httpx_multiple_json_chunk", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L165"}, {"caller_nid": "test_async_stream_test_httpx_multiple_json_chunk", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L166"}, {"caller_nid": "test_async_stream_test_httpx_incomplete_json_at_end", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L175"}, {"caller_nid": "test_async_stream_test_httpx_incomplete_json_at_end", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L179"}, {"caller_nid": "test_async_stream_test_httpx_incomplete_json_at_end", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L180"}, {"caller_nid": "test_async_stream_test_httpx_empty_stream", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L189"}, {"caller_nid": "test_async_stream_test_httpx_empty_stream", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L192"}, {"caller_nid": "test_async_stream_test_httpx_empty_stream", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L193"}, {"caller_nid": "test_async_stream_test_aiohttp_simple_lines", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L206"}, {"caller_nid": "test_async_stream_test_aiohttp_simple_lines", "callee": "assert_any_call", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L209"}, {"caller_nid": "test_async_stream_test_aiohttp_simple_lines", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L210"}, {"caller_nid": "test_async_stream_test_aiohttp_data_prefix", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L222"}, {"caller_nid": "test_async_stream_test_aiohttp_data_prefix", "callee": "assert_any_call", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L225"}, {"caller_nid": "test_async_stream_test_aiohttp_data_prefix", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L226"}, {"caller_nid": "test_async_stream_test_aiohttp_multiple_json_chunks", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L243"}, {"caller_nid": "test_async_stream_test_aiohttp_multiple_json_chunks", "callee": "assert_any_call", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L246"}, {"caller_nid": "test_async_stream_test_aiohttp_multiple_json_chunks", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L247"}, {"caller_nid": "test_async_stream_test_aiohttp_incomplete_json_at_end", "callee": "_aiter_response_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L261"}, {"caller_nid": "test_async_stream_test_aiohttp_incomplete_json_at_end", "callee": "assert_any_call", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L264"}, {"caller_nid": "test_async_stream_test_aiohttp_incomplete_json_at_end", "callee": "assert_called_once", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L265"}, {"caller_nid": "test_async_stream_mock_response", "callee": "MagicMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L269"}, {"caller_nid": "test_async_stream_mock_response", "callee": "Response", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L271"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "callee": "BaseApiClient", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L286"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "callee": "request_streamed", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L287"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L289"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "callee": "HttpResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L290"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "callee": "raises", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L298"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_bad_json", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L299"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses", "callee": "BaseApiClient", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L306"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses", "callee": "request_streamed", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L307"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L309"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses", "callee": "HttpResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L310"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses", "callee": "raises", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L318"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L319"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "Client", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L326"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "generate_content_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L327"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L332"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "GenerateContentResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L333"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "Candidate", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L335"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "Content", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L336"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "Part", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L338"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "HttpResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L346"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "raises", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L349"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream", "callee": "next", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L350"}, {"caller_nid": "test_async_stream_async_httpx_response", "callee": "MagicMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L354"}, {"caller_nid": "test_async_stream_async_httpx_response", "callee": "AsyncMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L356"}, {"caller_nid": "test_async_stream_async_httpx_response", "callee": "Response", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L357"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "BaseApiClient", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L366"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "HttpOptions", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L368"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "AsyncMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L373"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "async_request_streamed", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L375"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "anext", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L379"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "HttpResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L380"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "raises", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L388"}, {"caller_nid": "test_async_stream_test_error_event_in_streamed_responses_async", "callee": "anext", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L389"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "Client", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L395"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "HttpOptions", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L397"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "AsyncMock", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L402"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "generate_content_stream", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L404"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "anext", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L409"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "GenerateContentResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L410"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "Candidate", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L412"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "Content", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L413"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "Part", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L415"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "HttpResponse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L423"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "raises", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L426"}, {"caller_nid": "test_async_stream_test_error_event_in_generate_content_stream_async", "callee": "anext", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/client/test_async_stream.py", "source_location": "L427"}]}