1 line
9.8 KiB
JSON
1 line
9.8 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "label": "utils.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L1"}, {"id": "utils_get_tz_offset", "label": "get_tz_offset()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L14"}, {"id": "utils_assert_tz_offset", "label": "assert_tz_offset()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L19"}, {"id": "utils_tz_name_from_env", "label": "_tz_name_from_env()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L42"}, {"id": "utils_tz_from_env", "label": "_tz_from_env()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L77"}, {"id": "utils_rationale_15", "label": "Get timezone's offset using built-in function datetime.utcoffset().", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L15"}, {"id": "utils_rationale_20", "label": "Assert that system's timezone offset equals to the timezone offset found. I", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L20"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "calendar", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "datetime", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "warnings", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "zoneinfo", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "tzlocal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "utils_get_tz_offset", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "utils_assert_tz_offset", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "utils_tz_name_from_env", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L42", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_tzlocal_utils_py", "target": "utils_tz_from_env", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L77", "weight": 1.0}, {"source": "utils_assert_tz_offset", "target": "utils_get_tz_offset", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L29", "weight": 1.0}, {"source": "utils_tz_from_env", "target": "utils_tz_name_from_env", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L91", "weight": 1.0}, {"source": "utils_rationale_15", "target": "utils_get_tz_offset", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L15", "weight": 1.0}, {"source": "utils_rationale_20", "target": "utils_assert_tz_offset", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L20", "weight": 1.0}], "raw_calls": [{"caller_nid": "utils_get_tz_offset", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L16"}, {"caller_nid": "utils_get_tz_offset", "callee": "total_seconds", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L16"}, {"caller_nid": "utils_get_tz_offset", "callee": "utcoffset", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L16"}, {"caller_nid": "utils_get_tz_offset", "callee": "now", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L16"}, {"caller_nid": "utils_assert_tz_offset", "callee": "timegm", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L30"}, {"caller_nid": "utils_assert_tz_offset", "callee": "localtime", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L30"}, {"caller_nid": "utils_assert_tz_offset", "callee": "timegm", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L30"}, {"caller_nid": "utils_assert_tz_offset", "callee": "gmtime", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L30"}, {"caller_nid": "utils_assert_tz_offset", "callee": "abs", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L32"}, {"caller_nid": "utils_assert_tz_offset", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L38"}, {"caller_nid": "utils_assert_tz_offset", "callee": "warn", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L39"}, {"caller_nid": "utils_tz_name_from_env", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L44"}, {"caller_nid": "utils_tz_name_from_env", "callee": "debug", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L49"}, {"caller_nid": "utils_tz_name_from_env", "callee": "isabs", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L58"}, {"caller_nid": "utils_tz_name_from_env", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L58"}, {"caller_nid": "utils_tz_name_from_env", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L60"}, {"caller_nid": "utils_tz_name_from_env", "callee": "realpath", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L60"}, {"caller_nid": "utils_tz_name_from_env", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L63"}, {"caller_nid": "utils_tz_name_from_env", "callee": "debug", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L73"}, {"caller_nid": "utils_tz_from_env", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L79"}, {"caller_nid": "utils_tz_from_env", "callee": "isabs", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L89"}, {"caller_nid": "utils_tz_from_env", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L89"}, {"caller_nid": "utils_tz_from_env", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L94"}, {"caller_nid": "utils_tz_from_env", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L95"}, {"caller_nid": "utils_tz_from_env", "callee": "from_file", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L96"}, {"caller_nid": "utils_tz_from_env", "callee": "ZoneInfo", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L100"}, {"caller_nid": "utils_tz_from_env", "callee": "ZoneInfoNotFoundError", "source_file": "backend/venv/lib/python3.12/site-packages/tzlocal/utils.py", "source_location": "L105"}]} |