1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "label": "_credentials.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L1"}, {"id": "credentials_validate_credentials", "label": "validate_credentials()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L7"}, {"id": "credentials_read_env", "label": "_read_env()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L22"}, {"id": "credentials_resolve_auth_mode", "label": "resolve_auth_mode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L31"}, {"id": "credentials_resolve_api_key", "label": "resolve_api_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L65"}, {"id": "credentials_resolve_region", "label": "resolve_region()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L82"}, {"id": "credentials_resolve_workspace_id", "label": "resolve_workspace_id()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L93"}, {"id": "credentials_resolve_base_url", "label": "resolve_base_url()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L108"}, {"id": "credentials_rationale_12", "label": "Raise if only one of aws_access_key/aws_secret_key is provided.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L12"}, {"id": "credentials_rationale_23", "label": "Return the first non-None value from the given env vars, or None.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L23"}, {"id": "credentials_rationale_39", "label": "Determine whether to use SigV4 auth. Returns True for SigV4, False for API key.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L39"}, {"id": "credentials_rationale_71", "label": "Resolve the API key. Returns None if using SigV4.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L71"}, {"id": "credentials_rationale_83", "label": "Resolve the AWS region from constructor arg or env var. Does not silently d", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L83"}, {"id": "credentials_rationale_98", "label": "Resolve the workspace ID from constructor arg or env var(s). Returns None i", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L98"}, {"id": "credentials_rationale_115", "label": "Resolve the base URL from constructor arg, env var, or region. Returns None", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L115"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_validate_credentials", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_read_env", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_resolve_auth_mode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L31", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_resolve_api_key", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_resolve_region", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L82", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_resolve_workspace_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L93", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_lib_aws_credentials_py", "target": "credentials_resolve_base_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L108", "weight": 1.0}, {"source": "credentials_resolve_auth_mode", "target": "credentials_read_env", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L58", "weight": 1.0}, {"source": "credentials_resolve_api_key", "target": "credentials_read_env", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L77", "weight": 1.0}, {"source": "credentials_resolve_workspace_id", "target": "credentials_read_env", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L105", "weight": 1.0}, {"source": "credentials_resolve_base_url", "target": "credentials_read_env", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L122", "weight": 1.0}, {"source": "credentials_rationale_12", "target": "credentials_validate_credentials", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L12", "weight": 1.0}, {"source": "credentials_rationale_23", "target": "credentials_read_env", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L23", "weight": 1.0}, {"source": "credentials_rationale_39", "target": "credentials_resolve_auth_mode", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L39", "weight": 1.0}, {"source": "credentials_rationale_71", "target": "credentials_resolve_api_key", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L71", "weight": 1.0}, {"source": "credentials_rationale_83", "target": "credentials_resolve_region", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L83", "weight": 1.0}, {"source": "credentials_rationale_98", "target": "credentials_resolve_workspace_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L98", "weight": 1.0}, {"source": "credentials_rationale_115", "target": "credentials_resolve_base_url", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L115", "weight": 1.0}], "raw_calls": [{"caller_nid": "credentials_validate_credentials", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L16"}, {"caller_nid": "credentials_read_env", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L25"}, {"caller_nid": "credentials_resolve_region", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L90"}, {"caller_nid": "credentials_resolve_region", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L90"}, {"caller_nid": "credentials_resolve_base_url", "callee": "format", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/lib/aws/_credentials.py", "source_location": "L127"}]} |