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

1 line
11 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "label": "timing.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L1"}, {"id": "timing_instant", "label": "Instant", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L25"}, {"id": "timing_instant_elapsed", "label": ".elapsed()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L43"}, {"id": "timing_instant_as_utc", "label": ".as_utc()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L47"}, {"id": "timing_duration", "label": "Duration", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L53"}, {"id": "timing_seconds", "label": "seconds()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L60"}, {"id": "timing_mocktiming", "label": "MockTiming", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L66"}, {"id": "timing_mocktiming_sleep", "label": ".sleep()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L80"}, {"id": "timing_mocktiming_time", "label": ".time()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L83"}, {"id": "timing_mocktiming_patch", "label": ".patch()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L86"}, {"id": "timing_rationale_1", "label": "Indirection for time functions. We intentionally grab some \"time\" functions int", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L1"}, {"id": "timing_rationale_26", "label": "Represents an instant in time, used to both get the timestamp value and to measu", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L26"}, {"id": "timing_rationale_44", "label": "Measure the duration since `Instant` was created.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L44"}, {"id": "timing_rationale_48", "label": "Instant as UTC datetime.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L48"}, {"id": "timing_rationale_54", "label": "A span of time as measured by `Instant.elapsed()`.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L54"}, {"id": "timing_rationale_61", "label": "Elapsed time of the duration in seconds, measured using a performance counter fo", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L61"}, {"id": "timing_rationale_67", "label": "Mocks _pytest.timing with a known object that can be used to control timing in t", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L67"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "dataclasses", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "pytest", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "timing_instant", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L25", "weight": 1.0}, {"source": "timing_instant", "target": "timing_instant_elapsed", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L43", "weight": 1.0}, {"source": "timing_instant", "target": "timing_instant_as_utc", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L47", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "timing_duration", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L53", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "timing_seconds", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L60", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "target": "timing_mocktiming", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L66", "weight": 1.0}, {"source": "timing_mocktiming", "target": "timing_mocktiming_sleep", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L80", "weight": 1.0}, {"source": "timing_mocktiming", "target": "timing_mocktiming_time", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L83", "weight": 1.0}, {"source": "timing_mocktiming", "target": "timing_mocktiming_patch", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L86", "weight": 1.0}, {"source": "timing_instant_elapsed", "target": "timing_duration", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L45", "weight": 1.0}, {"source": "timing_instant_elapsed", "target": "timing_instant", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L45", "weight": 1.0}, {"source": "timing_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pytest_timing_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L1", "weight": 1.0}, {"source": "timing_rationale_26", "target": "timing_instant", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L26", "weight": 1.0}, {"source": "timing_rationale_44", "target": "timing_instant_elapsed", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L44", "weight": 1.0}, {"source": "timing_rationale_48", "target": "timing_instant_as_utc", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L48", "weight": 1.0}, {"source": "timing_rationale_54", "target": "timing_duration", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L54", "weight": 1.0}, {"source": "timing_rationale_61", "target": "timing_duration_seconds", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L61", "weight": 1.0}, {"source": "timing_rationale_67", "target": "timing_mocktiming", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L67", "weight": 1.0}], "raw_calls": [{"caller_nid": "timing_instant_as_utc", "callee": "fromtimestamp", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L49"}, {"caller_nid": "timing_mocktiming_patch", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L90"}, {"caller_nid": "timing_mocktiming_patch", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L91"}, {"caller_nid": "timing_mocktiming_patch", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/_pytest/timing.py", "source_location": "L92"}]}