1 line
37 KiB
JSON
1 line
37 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "label": "_utils.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L1"}, {"id": "utils_flatten", "label": "flatten()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L33"}, {"id": "utils_extract_files", "label": "extract_files()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L37"}, {"id": "utils_extract_items", "label": "_extract_items()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L56"}, {"id": "utils_is_given", "label": "is_given()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L130"}, {"id": "utils_is_tuple", "label": "is_tuple()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L144"}, {"id": "utils_is_tuple_t", "label": "is_tuple_t()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L148"}, {"id": "utils_is_sequence", "label": "is_sequence()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L152"}, {"id": "utils_is_sequence_t", "label": "is_sequence_t()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L156"}, {"id": "utils_is_mapping", "label": "is_mapping()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L160"}, {"id": "utils_is_mapping_t", "label": "is_mapping_t()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L164"}, {"id": "utils_is_dict", "label": "is_dict()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L168"}, {"id": "utils_is_list", "label": "is_list()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L172"}, {"id": "utils_is_iterable", "label": "is_iterable()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L176"}, {"id": "utils_deepcopy_minimal", "label": "deepcopy_minimal()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L180"}, {"id": "utils_human_join", "label": "human_join()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L196"}, {"id": "utils_quote", "label": "quote()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L210"}, {"id": "utils_required_args", "label": "required_args()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L215"}, {"id": "utils_strip_not_given", "label": "strip_not_given()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L295"}, {"id": "utils_coerce_integer", "label": "coerce_integer()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L317"}, {"id": "utils_coerce_float", "label": "coerce_float()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L321"}, {"id": "utils_coerce_boolean", "label": "coerce_boolean()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L325"}, {"id": "utils_maybe_coerce_integer", "label": "maybe_coerce_integer()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L329"}, {"id": "utils_maybe_coerce_float", "label": "maybe_coerce_float()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L335"}, {"id": "utils_maybe_coerce_boolean", "label": "maybe_coerce_boolean()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L341"}, {"id": "utils_removeprefix", "label": "removeprefix()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L347"}, {"id": "utils_removesuffix", "label": "removesuffix()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L357"}, {"id": "utils_file_from_path", "label": "file_from_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L367"}, {"id": "utils_get_required_header", "label": "get_required_header()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L373"}, {"id": "utils_get_async_library", "label": "get_async_library()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L392"}, {"id": "utils_lru_cache", "label": "lru_cache()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L399"}, {"id": "utils_json_safe", "label": "json_safe()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L409"}, {"id": "utils_rationale_44", "label": "Recursively extract files from the given dictionary based on specified paths.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L44"}, {"id": "utils_rationale_181", "label": "Minimal reimplementation of copy.deepcopy() that will only copy certain object t", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L181"}, {"id": "utils_rationale_211", "label": "Add single quotation marks around the given string. Does *not* do any escaping.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L211"}, {"id": "utils_rationale_216", "label": "Decorator to enforce a given set of arguments or variants of arguments are passe", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L216"}, {"id": "utils_rationale_307", "label": "Remove all top-level keys where their values are instances of `NotGiven`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L307"}, {"id": "utils_rationale_348", "label": "Remove a prefix from a string. Backport of `str.removeprefix` for Python <", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L348"}, {"id": "utils_rationale_358", "label": "Remove a suffix from a string. Backport of `str.removesuffix` for Python <", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L358"}, {"id": "utils_rationale_400", "label": "A version of functools.lru_cache that retains the type signature for the wra", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L400"}, {"id": "utils_rationale_410", "label": "Translates a mapping / sequence recursively in the same fashion as `pydantic", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L410"}, {"id": "utils_rationale_38", "label": "# TODO: this needs to take Dict but variance issues.....", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L38"}, {"id": "utils_rationale_276", "label": "# TODO: this error message is not deterministic", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L276"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "inspect", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "functools", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "typing_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "sniffio", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "backend_venv_lib_python3_12_site_packages_anthropic_types_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_flatten", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L33", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_extract_files", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L37", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_extract_items", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L56", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_given", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L130", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_tuple", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L144", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_tuple_t", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L148", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_sequence", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L152", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_sequence_t", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L156", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_mapping", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L160", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_mapping_t", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L164", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L168", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_list", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L172", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_is_iterable", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L176", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_deepcopy_minimal", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L180", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_human_join", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L196", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_quote", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L210", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_required_args", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L215", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_strip_not_given", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L295", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_strip_not_given", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L299", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_strip_not_given", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L303", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_strip_not_given", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L306", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_coerce_integer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L317", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_coerce_float", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L321", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_coerce_boolean", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L325", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_maybe_coerce_integer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L329", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_maybe_coerce_float", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L335", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_maybe_coerce_boolean", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L341", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_removeprefix", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L347", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_removesuffix", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L357", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_file_from_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L367", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_get_required_header", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L373", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_get_async_library", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L392", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_lru_cache", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L399", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "target": "utils_json_safe", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L409", "weight": 1.0}, {"source": "utils_extract_files", "target": "utils_extract_items", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L52", "weight": 1.0}, {"source": "utils_extract_items", "target": "utils_is_given", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L66", "weight": 1.0}, {"source": "utils_extract_items", "target": "utils_is_list", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L76", "weight": 1.0}, {"source": "utils_extract_items", "target": "utils_is_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L87", "weight": 1.0}, {"source": "utils_extract_items", "target": "utils_flatten", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L114", "weight": 1.0}, {"source": "utils_deepcopy_minimal", "target": "utils_is_mapping", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L188", "weight": 1.0}, {"source": "utils_deepcopy_minimal", "target": "utils_is_list", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L190", "weight": 1.0}, {"source": "utils_strip_not_given", "target": "utils_is_mapping", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L311", "weight": 1.0}, {"source": "utils_maybe_coerce_integer", "target": "utils_coerce_integer", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L332", "weight": 1.0}, {"source": "utils_maybe_coerce_float", "target": "utils_coerce_float", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L338", "weight": 1.0}, {"source": "utils_maybe_coerce_boolean", "target": "utils_coerce_boolean", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L344", "weight": 1.0}, {"source": "utils_get_required_header", "target": "utils_is_mapping_t", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L375", "weight": 1.0}, {"source": "utils_json_safe", "target": "utils_is_mapping", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L413", "weight": 1.0}, {"source": "utils_json_safe", "target": "utils_is_iterable", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L416", "weight": 1.0}, {"source": "utils_rationale_44", "target": "utils_extract_files", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L44", "weight": 1.0}, {"source": "utils_rationale_181", "target": "utils_deepcopy_minimal", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L181", "weight": 1.0}, {"source": "utils_rationale_211", "target": "utils_quote", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L211", "weight": 1.0}, {"source": "utils_rationale_216", "target": "utils_required_args", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L216", "weight": 1.0}, {"source": "utils_rationale_307", "target": "utils_strip_not_given", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L307", "weight": 1.0}, {"source": "utils_rationale_348", "target": "utils_removeprefix", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L348", "weight": 1.0}, {"source": "utils_rationale_358", "target": "utils_removesuffix", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L358", "weight": 1.0}, {"source": "utils_rationale_400", "target": "utils_lru_cache", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L400", "weight": 1.0}, {"source": "utils_rationale_410", "target": "utils_json_safe", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L410", "weight": 1.0}, {"source": "utils_rationale_38", "target": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L38", "weight": 1.0}, {"source": "utils_rationale_276", "target": "backend_venv_lib_python3_12_site_packages_anthropic_utils_utils_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L276", "weight": 1.0}], "raw_calls": [{"caller_nid": "utils_extract_files", "callee": "extend", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L52"}, {"caller_nid": "utils_extract_items", "callee": "assert_is_file_content", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L79"}, {"caller_nid": "utils_extract_items", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L80"}, {"caller_nid": "utils_extract_items", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L80"}, {"caller_nid": "utils_extract_items", "callee": "assert_is_file_content", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L83"}, {"caller_nid": "utils_extract_items", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L84"}, {"caller_nid": "utils_extract_items", "callee": "all", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L91"}, {"caller_nid": "utils_extract_items", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L92"}, {"caller_nid": "utils_is_given", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L131"}, {"caller_nid": "utils_is_given", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L131"}, {"caller_nid": "utils_is_tuple", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L145"}, {"caller_nid": "utils_is_tuple_t", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L149"}, {"caller_nid": "utils_is_sequence", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L153"}, {"caller_nid": "utils_is_sequence_t", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L157"}, {"caller_nid": "utils_is_mapping", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L161"}, {"caller_nid": "utils_is_mapping_t", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L165"}, {"caller_nid": "utils_is_dict", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L169"}, {"caller_nid": "utils_is_list", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L173"}, {"caller_nid": "utils_is_iterable", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L177"}, {"caller_nid": "utils_deepcopy_minimal", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L189"}, {"caller_nid": "utils_deepcopy_minimal", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L189"}, {"caller_nid": "utils_deepcopy_minimal", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L191"}, {"caller_nid": "utils_human_join", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L197"}, {"caller_nid": "utils_human_join", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L207"}, {"caller_nid": "utils_strip_not_given", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L314"}, {"caller_nid": "utils_strip_not_given", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L314"}, {"caller_nid": "utils_coerce_integer", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L318"}, {"caller_nid": "utils_coerce_float", "callee": "float", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L322"}, {"caller_nid": "utils_removeprefix", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L352"}, {"caller_nid": "utils_removeprefix", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L353"}, {"caller_nid": "utils_removesuffix", "callee": "endswith", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L362"}, {"caller_nid": "utils_removesuffix", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L363"}, {"caller_nid": "utils_file_from_path", "callee": "read_bytes", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L368"}, {"caller_nid": "utils_file_from_path", "callee": "Path", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L368"}, {"caller_nid": "utils_file_from_path", "callee": "basename", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L369"}, {"caller_nid": "utils_get_required_header", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L374"}, {"caller_nid": "utils_get_required_header", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L377"}, {"caller_nid": "utils_get_required_header", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L378"}, {"caller_nid": "utils_get_required_header", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L378"}, {"caller_nid": "utils_get_required_header", "callee": "sub", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L382"}, {"caller_nid": "utils_get_required_header", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L382"}, {"caller_nid": "utils_get_required_header", "callee": "upper", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L382"}, {"caller_nid": "utils_get_required_header", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L382"}, {"caller_nid": "utils_get_required_header", "callee": "capitalize", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L382"}, {"caller_nid": "utils_get_required_header", "callee": "upper", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L384"}, {"caller_nid": "utils_get_required_header", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L385"}, {"caller_nid": "utils_get_required_header", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L389"}, {"caller_nid": "utils_get_async_library", "callee": "current_async_library", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L394"}, {"caller_nid": "utils_lru_cache", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L406"}, {"caller_nid": "utils_json_safe", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L414"}, {"caller_nid": "utils_json_safe", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L416"}, {"caller_nid": "utils_json_safe", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L419"}, {"caller_nid": "utils_json_safe", "callee": "isoformat", "source_file": "backend/venv/lib/python3.12/site-packages/anthropic/_utils/_utils.py", "source_location": "L420"}]} |