1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "label": "heuristics.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L1"}, {"id": "heuristics_expire_after", "label": "expire_after()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L18"}, {"id": "heuristics_datetime_to_header", "label": "datetime_to_header()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L23"}, {"id": "heuristics_baseheuristic", "label": "BaseHeuristic", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L27"}, {"id": "heuristics_baseheuristic_warning", "label": ".warning()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L28"}, {"id": "heuristics_baseheuristic_update_headers", "label": ".update_headers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L39"}, {"id": "heuristics_baseheuristic_apply", "label": ".apply()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L48"}, {"id": "heuristics_onedaycache", "label": "OneDayCache", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L60"}, {"id": "heuristics_onedaycache_update_headers", "label": ".update_headers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L66"}, {"id": "heuristics_expiresafter", "label": "ExpiresAfter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L80"}, {"id": "heuristics_expiresafter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L85"}, {"id": "heuristics_expiresafter_update_headers", "label": ".update_headers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L88"}, {"id": "heuristics_expiresafter_warning", "label": ".warning()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L92"}, {"id": "heuristics_lastmodified", "label": "LastModified", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L97"}, {"id": "heuristics_lastmodified_update_headers", "label": ".update_headers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L124"}, {"id": "heuristics_lastmodified_warning", "label": ".warning()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L156"}, {"id": "heuristics_rationale_29", "label": "Return a valid 1xx warning header value describing the cache adjustments", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L29"}, {"id": "heuristics_rationale_40", "label": "Update the response headers with any new headers. NOTE: This SHOULD alw", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L40"}, {"id": "heuristics_rationale_61", "label": "Cache the response by providing an expires 1 day in the future.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L61"}, {"id": "heuristics_rationale_81", "label": "Cache **all** requests for a defined time period.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L81"}, {"id": "heuristics_rationale_98", "label": "If there is no Expires header already, fall back on Last-Modified using the", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L98"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "calendar", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "email_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "pip_vendor_urllib3", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "heuristics_expire_after", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "heuristics_datetime_to_header", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "heuristics_baseheuristic", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L27", "weight": 1.0}, {"source": "heuristics_baseheuristic", "target": "heuristics_baseheuristic_warning", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L28", "weight": 1.0}, {"source": "heuristics_baseheuristic", "target": "heuristics_baseheuristic_update_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L39", "weight": 1.0}, {"source": "heuristics_baseheuristic", "target": "heuristics_baseheuristic_apply", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L48", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "heuristics_onedaycache", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L60", "weight": 1.0}, {"source": "heuristics_onedaycache", "target": "heuristics_baseheuristic", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L60", "weight": 1.0}, {"source": "heuristics_onedaycache", "target": "heuristics_onedaycache_update_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L66", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "heuristics_expiresafter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L80", "weight": 1.0}, {"source": "heuristics_expiresafter", "target": "heuristics_baseheuristic", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L80", "weight": 1.0}, {"source": "heuristics_expiresafter", "target": "heuristics_expiresafter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L85", "weight": 1.0}, {"source": "heuristics_expiresafter", "target": "heuristics_expiresafter_update_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L88", "weight": 1.0}, {"source": "heuristics_expiresafter", "target": "heuristics_expiresafter_warning", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L92", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_cachecontrol_heuristics_py", "target": "heuristics_lastmodified", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L97", "weight": 1.0}, {"source": "heuristics_lastmodified", "target": "heuristics_baseheuristic", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L97", "weight": 1.0}, {"source": "heuristics_lastmodified", "target": "heuristics_lastmodified_update_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L124", "weight": 1.0}, {"source": "heuristics_lastmodified", "target": "heuristics_lastmodified_warning", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L156", "weight": 1.0}, {"source": "heuristics_baseheuristic_apply", "target": "heuristics_lastmodified_update_headers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L49", "weight": 1.0}, {"source": "heuristics_baseheuristic_apply", "target": "heuristics_lastmodified_warning", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L53", "weight": 1.0}, {"source": "heuristics_onedaycache_update_headers", "target": "heuristics_expire_after", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L71", "weight": 1.0}, {"source": "heuristics_onedaycache_update_headers", "target": "heuristics_datetime_to_header", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L75", "weight": 1.0}, {"source": "heuristics_expiresafter_update_headers", "target": "heuristics_expire_after", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L89", "weight": 1.0}, {"source": "heuristics_expiresafter_update_headers", "target": "heuristics_datetime_to_header", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L90", "weight": 1.0}, {"source": "heuristics_rationale_29", "target": "heuristics_baseheuristic_warning", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L29", "weight": 1.0}, {"source": "heuristics_rationale_40", "target": "heuristics_baseheuristic_update_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L40", "weight": 1.0}, {"source": "heuristics_rationale_61", "target": "heuristics_onedaycache", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L61", "weight": 1.0}, {"source": "heuristics_rationale_81", "target": "heuristics_expiresafter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L81", "weight": 1.0}, {"source": "heuristics_rationale_98", "target": "heuristics_lastmodified", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L98", "weight": 1.0}], "raw_calls": [{"caller_nid": "heuristics_expire_after", "callee": "now", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L19"}, {"caller_nid": "heuristics_datetime_to_header", "callee": "formatdate", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L24"}, {"caller_nid": "heuristics_datetime_to_header", "callee": "timegm", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L24"}, {"caller_nid": "heuristics_datetime_to_header", "callee": "timetuple", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L24"}, {"caller_nid": "heuristics_baseheuristic_apply", "callee": "update", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L52"}, {"caller_nid": "heuristics_baseheuristic_apply", "callee": "update", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L55"}, {"caller_nid": "heuristics_onedaycache_update_headers", "callee": "parsedate", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L70"}, {"caller_nid": "heuristics_onedaycache_update_headers", "callee": "timedelta", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L72"}, {"caller_nid": "heuristics_onedaycache_update_headers", "callee": "datetime", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L73"}, {"caller_nid": "heuristics_expiresafter_init", "callee": "timedelta", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L86"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "parsedate_tz", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L139"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "timegm", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L141"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "parsedate", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L142"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "time", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L146"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L147"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "timegm", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L148"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "max", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L149"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "min", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L149"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "strftime", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L154"}, {"caller_nid": "heuristics_lastmodified_update_headers", "callee": "gmtime", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py", "source_location": "L154"}]} |