Files
tfm_ainventory/graphify-out/cache/ac0a7fd6ef18822f82262e39d36e57ee10d3761dd1aeb73f7fe64b75cefcdfa6.json

1 line
21 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "label": "_dataclasses.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L1"}, {"id": "dataclasses_pydanticdataclass", "label": "PydanticDataclass", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L40"}, {"id": "standarddataclass", "label": "StandardDataclass", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "protocol", "label": "Protocol", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "dataclasses_pydantic_fields_complete", "label": "__pydantic_fields_complete__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L62"}, {"id": "dataclasses_set_dataclass_fields", "label": "set_dataclass_fields()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L65"}, {"id": "dataclasses_complete_dataclass", "label": "complete_dataclass()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L85"}, {"id": "dataclasses_is_stdlib_dataclass", "label": "is_stdlib_dataclass()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L193"}, {"id": "dataclasses_as_dataclass_field", "label": "as_dataclass_field()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L208"}, {"id": "dataclasses_patch_base_fields", "label": "patch_base_fields()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L230"}, {"id": "dataclasses_rationale_1", "label": "Private logic for creating pydantic dataclasses.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L1"}, {"id": "dataclasses_rationale_41", "label": "A protocol containing attributes only available once a class has been decorated", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L41"}, {"id": "dataclasses_rationale_70", "label": "Collect and set `cls.__pydantic_fields__`. Args: cls: The class.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L70"}, {"id": "dataclasses_rationale_93", "label": "Finish building a pydantic dataclass. This logic is called on a class which", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L93"}, {"id": "dataclasses_rationale_194", "label": "Returns `True` if the class is a stdlib dataclass and *not* a Pydantic dataclass", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L194"}, {"id": "dataclasses_rationale_231", "label": "Temporarily patch the stdlib dataclasses bases of `cls` if the Pydantic `Field()", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L231"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "copy", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "warnings", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "contextlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "functools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "pydantic_core", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "typing_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_errors_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_fields_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_plugin_schema_validator_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_warnings_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_fields_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_generate_schema_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L28", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_generics_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L29", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_mock_val_ser_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_namespace_utils_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L31", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_signature_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L32", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_utils_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L33", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "typeshed", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L36", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_config_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L38", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_pydanticdataclass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L40", "weight": 1.0}, {"source": "dataclasses_pydanticdataclass", "target": "standarddataclass", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L40", "weight": 1.0}, {"source": "dataclasses_pydanticdataclass", "target": "protocol", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L40", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_pydantic_fields_complete", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L62", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_set_dataclass_fields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_complete_dataclass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L85", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_is_stdlib_dataclass", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L193", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_as_dataclass_field", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L208", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "target": "dataclasses_patch_base_fields", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L230", "weight": 1.0}, {"source": "dataclasses_complete_dataclass", "target": "dataclasses_set_dataclass_fields", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L128", "weight": 1.0}, {"source": "dataclasses_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_dataclasses_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L1", "weight": 1.0}, {"source": "dataclasses_rationale_41", "target": "dataclasses_pydanticdataclass", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L41", "weight": 1.0}, {"source": "dataclasses_rationale_70", "target": "dataclasses_set_dataclass_fields", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L70", "weight": 1.0}, {"source": "dataclasses_rationale_93", "target": "dataclasses_complete_dataclass", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L93", "weight": 1.0}, {"source": "dataclasses_rationale_194", "target": "dataclasses_is_stdlib_dataclass", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L194", "weight": 1.0}, {"source": "dataclasses_rationale_231", "target": "dataclasses_patch_base_fields", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L231", "weight": 1.0}], "raw_calls": [{"caller_nid": "dataclasses_set_dataclass_fields", "callee": "get_standard_typevars_map", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L77"}, {"caller_nid": "dataclasses_set_dataclass_fields", "callee": "collect_dataclass_fields", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L78"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "set_dataclass_mocks", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L131"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L134"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "warn", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L135"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "get_standard_typevars_map", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L140"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "GenerateSchema", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L141"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "LazyClassAttribute", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L150"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "partial", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L152"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "generate_schema", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L165"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "set_dataclass_mocks", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L169"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "core_config", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L172"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "clean_schema", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L175"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "set_dataclass_mocks", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L177"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L182"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "create_schema_validator", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L185"}, {"caller_nid": "dataclasses_complete_dataclass", "callee": "SchemaSerializer", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L188"}, {"caller_nid": "dataclasses_is_stdlib_dataclass", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L205"}, {"caller_nid": "dataclasses_as_dataclass_field", "callee": "field", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L223"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L287"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L290"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L291"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L296"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L297"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L298"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "copy", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L301"}, {"caller_nid": "dataclasses_patch_base_fields", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_dataclasses.py", "source_location": "L314"}]}