1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "label": "yaml.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L1"}, {"id": "yaml_import_yaml", "label": "import_yaml()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L22"}, {"id": "yaml_yamlconfigsettingssource", "label": "YamlConfigSettingsSource", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L32"}, {"id": "initsettingssource", "label": "InitSettingsSource", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "configfilesourcemixin", "label": "ConfigFileSourceMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "yaml_yamlconfigsettingssource_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L37"}, {"id": "yaml_yamlconfigsettingssource_read_file", "label": "._read_file()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L64"}, {"id": "yaml_yamlconfigsettingssource_traverse_nested_section", "label": "._traverse_nested_section()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L69"}, {"id": "yaml_yamlconfigsettingssource_repr", "label": ".__repr__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L126"}, {"id": "yaml_rationale_1", "label": "YAML file settings source.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L1"}, {"id": "yaml_rationale_33", "label": "A source class that loads variables from a yaml file", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L33"}, {"id": "yaml_rationale_72", "label": "Traverse nested YAML sections using dot-notation path. This method trie", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L72"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_types_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "yaml", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "pydantic_settings_main", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "yaml_import_yaml", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "target": "yaml_yamlconfigsettingssource", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L32", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource", "target": "initsettingssource", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L32", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource", "target": "configfilesourcemixin", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L32", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource", "target": "yaml_yamlconfigsettingssource_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L37", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource", "target": "yaml_yamlconfigsettingssource_read_file", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L64", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource", "target": "yaml_yamlconfigsettingssource_traverse_nested_section", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L69", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource", "target": "yaml_yamlconfigsettingssource_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L126", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource_init", "target": "yaml_yamlconfigsettingssource_traverse_nested_section", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L59", "weight": 1.0}, {"source": "yaml_yamlconfigsettingssource_read_file", "target": "yaml_import_yaml", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L65", "weight": 1.0}, {"source": "yaml_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pydantic_settings_sources_providers_yaml_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L1", "weight": 1.0}, {"source": "yaml_rationale_33", "target": "yaml_yamlconfigsettingssource", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L33", "weight": 1.0}, {"source": "yaml_rationale_72", "target": "yaml_yamlconfigsettingssource_traverse_nested_section", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L72", "weight": 1.0}], "raw_calls": [{"caller_nid": "yaml_import_yaml", "callee": "ImportError", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L29"}, {"caller_nid": "yaml_yamlconfigsettingssource_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L45"}, {"caller_nid": "yaml_yamlconfigsettingssource_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L49"}, {"caller_nid": "yaml_yamlconfigsettingssource_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L54"}, {"caller_nid": "yaml_yamlconfigsettingssource_init", "callee": "_read_files", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L56"}, {"caller_nid": "yaml_yamlconfigsettingssource_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L62"}, {"caller_nid": "yaml_yamlconfigsettingssource_read_file", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L66"}, {"caller_nid": "yaml_yamlconfigsettingssource_read_file", "callee": "safe_load", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L67"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L90"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L98"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "KeyError", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L105"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L108"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L109"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L109"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L110"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L111"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L118"}, {"caller_nid": "yaml_yamlconfigsettingssource_traverse_nested_section", "callee": "KeyError", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic_settings/sources/providers/yaml.py", "source_location": "L124"}]} |