1 line
9.9 KiB
JSON
1 line
9.9 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "label": "tz_utils.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L1"}, {"id": "tz_utils_resolve_tz", "label": "_resolve_tz()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L23"}, {"id": "tz_utils_get_local_now", "label": "get_local_now()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L37"}, {"id": "tz_utils_get_local_today", "label": "get_local_today()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L43"}, {"id": "tz_utils_get_local_day_boundaries", "label": "get_local_day_boundaries()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L48"}, {"id": "tz_utils_utc_to_local_str", "label": "utc_to_local_str()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L66"}, {"id": "tz_utils_rationale_24", "label": "Return a pytz timezone from the best available source.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L24"}, {"id": "tz_utils_rationale_38", "label": "Return the current datetime in the resolved local timezone (aware).", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L38"}, {"id": "tz_utils_rationale_44", "label": "Return today's date in the resolved local timezone.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L44"}, {"id": "tz_utils_rationale_49", "label": "Return (start_utc, end_utc) as **naive** UTC datetimes representing midnight", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L49"}, {"id": "tz_utils_rationale_67", "label": "Convert a naive-UTC datetime to a formatted string in local timezone. Return", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L67"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "pytz", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L19", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L20", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "tz_utils_resolve_tz", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L23", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "tz_utils_get_local_now", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L37", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "tz_utils_get_local_today", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L43", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "tz_utils_get_local_day_boundaries", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L48", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_clock_models_tz_utils_py", "target": "tz_utils_utc_to_local_str", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L66", "weight": 1.0}, {"source": "tz_utils_get_local_now", "target": "tz_utils_resolve_tz", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L39", "weight": 1.0}, {"source": "tz_utils_get_local_today", "target": "tz_utils_get_local_now", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L45", "weight": 1.0}, {"source": "tz_utils_get_local_day_boundaries", "target": "tz_utils_resolve_tz", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L57", "weight": 1.0}, {"source": "tz_utils_utc_to_local_str", "target": "tz_utils_resolve_tz", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L73", "weight": 1.0}, {"source": "tz_utils_rationale_24", "target": "tz_utils_resolve_tz", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L24", "weight": 1.0}, {"source": "tz_utils_rationale_38", "target": "tz_utils_get_local_now", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L38", "weight": 1.0}, {"source": "tz_utils_rationale_44", "target": "tz_utils_get_local_today", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L44", "weight": 1.0}, {"source": "tz_utils_rationale_49", "target": "tz_utils_get_local_day_boundaries", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L49", "weight": 1.0}, {"source": "tz_utils_rationale_67", "target": "tz_utils_utc_to_local_str", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L67", "weight": 1.0}], "raw_calls": [{"caller_nid": "tz_utils_resolve_tz", "callee": "timezone", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L32"}, {"caller_nid": "tz_utils_get_local_now", "callee": "astimezone", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L40"}, {"caller_nid": "tz_utils_get_local_now", "callee": "now", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L40"}, {"caller_nid": "tz_utils_get_local_today", "callee": "date", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L45"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "localize", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L58"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "combine", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L58"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "time", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L58"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "localize", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L59"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "combine", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L59"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "timedelta", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L59"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "time", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L59"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "replace", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L61"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "astimezone", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L61"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "replace", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L62"}, {"caller_nid": "tz_utils_get_local_day_boundaries", "callee": "astimezone", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L62"}, {"caller_nid": "tz_utils_utc_to_local_str", "callee": "localize", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L74"}, {"caller_nid": "tz_utils_utc_to_local_str", "callee": "strftime", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L75"}, {"caller_nid": "tz_utils_utc_to_local_str", "callee": "astimezone", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_clock/models/tz_utils.py", "source_location": "L75"}]} |