740993eb410f42c5553e5a714d54ac85edd35f56cc42ae3c52fb09a5a2cdfe63.json 11 KB

1
  1. {"nodes": [{"id": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "label": "china_region_tree.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L1"}, {"id": "services_china_region_tree_query_china_regions_active", "label": "query_china_regions_active()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L19"}, {"id": "services_china_region_tree_build_china_region_tree", "label": "build_china_region_tree()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L34"}, {"id": "services_china_region_tree_get_china_region_tree_cached", "label": "get_china_region_tree_cached()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L55"}, {"id": "services_china_region_tree_rationale_1", "label": "\u4e2d\u56fd\u884c\u653f\u533a\u5212\uff08bas_china_region\uff09\u6811\u5f62\u7ed3\u6784\uff0c\u4f9b\u8fd0\u8425\u7aef\u4e0e\u5c0f\u7a0b\u5e8f\u5171\u7528\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L1"}, {"id": "services_china_region_tree_rationale_35", "label": "{ value: region_code, label: region_name, children?: [...] }\uff0c\u4e0e\u5386\u53f2 china-region-ca", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L35"}, {"id": "services_china_region_tree_rationale_56", "label": "\u83b7\u53d6\u4e2d\u56fd\u884c\u653f\u533a\u5212\u6811\uff0c\u5e26\u8fdb\u7a0b\u5185\u77ed TTL \u7f13\u5b58\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L56"}], "edges": [{"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "copy", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "threading", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "collections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "app_models_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "services_china_region_tree_query_china_regions_active", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L19", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "services_china_region_tree_build_china_region_tree", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L34", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "target": "services_china_region_tree_get_china_region_tree_cached", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L55", "weight": 1.0}, {"source": "services_china_region_tree_get_china_region_tree_cached", "target": "services_china_region_tree_query_china_regions_active", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L64", "weight": 1.0}, {"source": "services_china_region_tree_get_china_region_tree_cached", "target": "services_china_region_tree_build_china_region_tree", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L65", "weight": 1.0}, {"source": "services_china_region_tree_rationale_1", "target": "users_wuzilong_work_00code_sqxp_2_backend_app_services_china_region_tree_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L1", "weight": 1.0}, {"source": "services_china_region_tree_rationale_35", "target": "services_china_region_tree_build_china_region_tree", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L35", "weight": 1.0}, {"source": "services_china_region_tree_rationale_56", "target": "services_china_region_tree_get_china_region_tree_cached", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L56", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_china_region_tree_query_china_regions_active", "callee": "all", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L21"}, {"caller_nid": "services_china_region_tree_query_china_regions_active", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L21"}, {"caller_nid": "services_china_region_tree_query_china_regions_active", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L21"}, {"caller_nid": "services_china_region_tree_query_china_regions_active", "callee": "query", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L21"}, {"caller_nid": "services_china_region_tree_query_china_regions_active", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L29"}, {"caller_nid": "services_china_region_tree_query_china_regions_active", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L29"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "defaultdict", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L36"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L38"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "append", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L39"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "sort", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L41"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L41"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L41"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "get", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L51"}, {"caller_nid": "services_china_region_tree_build_china_region_tree", "callee": "to_node", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L52"}, {"caller_nid": "services_china_region_tree_get_china_region_tree_cached", "callee": "time", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L57"}, {"caller_nid": "services_china_region_tree_get_china_region_tree_cached", "callee": "get", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L59"}, {"caller_nid": "services_china_region_tree_get_china_region_tree_cached", "callee": "float", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L60"}, {"caller_nid": "services_china_region_tree_get_china_region_tree_cached", "callee": "get", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L60"}, {"caller_nid": "services_china_region_tree_get_china_region_tree_cached", "callee": "deepcopy", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L62"}, {"caller_nid": "services_china_region_tree_get_china_region_tree_cached", "callee": "deepcopy", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/services/china_region_tree.py", "source_location": "L70"}]}