1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_py", "label": "test_duck_type.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L1"}, {"id": "test_duck_type_testisducktypeof", "label": "TestIsDuckTypeOf", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L8"}, {"id": "test_duck_type_fakepydanticmodel", "label": "FakePydanticModel", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L10"}, {"id": "test_duck_type_fakepydanticmodelwithlessfields", "label": "FakePydanticModelWithLessFields", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L17"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_pydantic_object", "label": ".test_is_duck_type_of_true_for_pydantic_object()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L23"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_duck_typed_object", "label": ".test_is_duck_type_of_true_for_duck_typed_object()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L33"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_different_many_fields", "label": ".test_is_duck_type_of_false_for_different_many_fields()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L46"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_missing_fields", "label": ".test_is_duck_type_of_false_for_missing_fields()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L57"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_dict", "label": ".test_is_duck_type_of_false_for_dict()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L64"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_non_pydantic_class", "label": ".test_is_duck_type_of_false_for_non_pydantic_class()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L70"}, {"id": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_with_extra_fields", "label": ".test_is_duck_type_of_true_with_extra_fields()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L80"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_py", "target": "unittest", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_py", "target": "pydantic", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_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/common/test_duck_type.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_py", "target": "test_duck_type_testisducktypeof", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_py", "target": "test_duck_type_fakepydanticmodel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_genai_tests_common_test_duck_type_py", "target": "test_duck_type_fakepydanticmodelwithlessfields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L17", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_pydantic_object", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L23", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_duck_typed_object", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L33", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_different_many_fields", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L46", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_missing_fields", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L57", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_dict", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L64", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_non_pydantic_class", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L70", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof", "target": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_with_extra_fields", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L80", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_pydantic_object", "target": "test_duck_type_fakepydanticmodel", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L24", "weight": 1.0}, {"source": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_missing_fields", "target": "test_duck_type_fakepydanticmodelwithlessfields", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L59", "weight": 1.0}], "raw_calls": [{"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_pydantic_object", "callee": "assertTrue", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L31"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_pydantic_object", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L31"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_duck_typed_object", "callee": "DuckTypedObject", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L43"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_duck_typed_object", "callee": "assertTrue", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L44"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_for_duck_typed_object", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L44"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_different_many_fields", "callee": "DifferentFieldsObject", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L52"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_different_many_fields", "callee": "assertFalse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L53"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_different_many_fields", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L54"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_missing_fields", "callee": "assertFalse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L62"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_missing_fields", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L62"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_dict", "callee": "assertFalse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L66"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_dict", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L67"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_non_pydantic_class", "callee": "SomeObject", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L77"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_non_pydantic_class", "callee": "assertFalse", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L78"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_false_for_non_pydantic_class", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L78"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_with_extra_fields", "callee": "ExtraFieldsObject", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L91"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_with_extra_fields", "callee": "assertTrue", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L92"}, {"caller_nid": "test_duck_type_testisducktypeof_test_is_duck_type_of_true_with_extra_fields", "callee": "is_duck_type_of", "source_file": "backend/venv/lib/python3.12/site-packages/google/genai/tests/common/test_duck_type.py", "source_location": "L92"}]} |