| 1 |
- {"nodes": [{"id": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "label": "dept.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L1"}, {"id": "crud_dept_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L13"}, {"id": "crud_dept_build_tree", "label": "_build_tree()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L30"}, {"id": "crud_dept_collect_with_ancestors", "label": "_collect_with_ancestors()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L38"}, {"id": "crud_dept_list_depts", "label": "list_depts()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L54"}, {"id": "crud_dept_list_depts_tree", "label": "list_depts_tree()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L75"}, {"id": "crud_dept_get_dept", "label": "get_dept()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L97"}, {"id": "crud_dept_create_dept", "label": "create_dept()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L105"}, {"id": "crud_dept_update_dept", "label": "update_dept()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L146"}, {"id": "crud_dept_cascade_soft_delete", "label": "_cascade_soft_delete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L184"}, {"id": "crud_dept_soft_delete_dept", "label": "soft_delete_dept()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L197"}, {"id": "crud_dept_rationale_41", "label": "\u4fdd\u7559\u5339\u914d\u8282\u70b9\u53ca\u5176\u5168\u90e8\u4e0a\u7ea7\uff0c\u4f9b\u5173\u952e\u8bcd\u68c0\u7d22\u540e\u4ecd\u80fd\u6b63\u786e\u7ec4\u6811\u3002", "file_type": "rationale", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L41"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "app_core_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "app_models_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L10", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_build_tree", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L30", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_collect_with_ancestors", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L38", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_list_depts", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L54", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_list_depts_tree", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_get_dept", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L97", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_create_dept", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L105", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_update_dept", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L146", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_cascade_soft_delete", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L184", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_backend_app_crud_dept_py", "target": "crud_dept_soft_delete_dept", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L197", "weight": 1.0}, {"source": "crud_dept_list_depts", "target": "crud_dept_row_to_dict", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L72", "weight": 1.0}, {"source": "crud_dept_list_depts_tree", "target": "crud_dept_list_depts", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L84", "weight": 1.0}, {"source": "crud_dept_list_depts_tree", "target": "crud_dept_build_tree", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L85", "weight": 1.0}, {"source": "crud_dept_list_depts_tree", "target": "crud_dept_collect_with_ancestors", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L93", "weight": 1.0}, {"source": "crud_dept_update_dept", "target": "crud_dept_get_dept", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L159", "weight": 1.0}, {"source": "crud_dept_soft_delete_dept", "target": "crud_dept_get_dept", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L198", "weight": 1.0}, {"source": "crud_dept_soft_delete_dept", "target": "crud_dept_cascade_soft_delete", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L201", "weight": 1.0}, {"source": "crud_dept_rationale_41", "target": "crud_dept_collect_with_ancestors", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L41", "weight": 1.0}], "raw_calls": [{"caller_nid": "crud_dept_row_to_dict", "callee": "strftime", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L25"}, {"caller_nid": "crud_dept_row_to_dict", "callee": "strftime", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L26"}, {"caller_nid": "crud_dept_build_tree", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L31"}, {"caller_nid": "crud_dept_build_tree", "callee": "sort", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L34"}, {"caller_nid": "crud_dept_build_tree", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L34"}, {"caller_nid": "crud_dept_collect_with_ancestors", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L42"}, {"caller_nid": "crud_dept_collect_with_ancestors", "callee": "set", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L43"}, {"caller_nid": "crud_dept_collect_with_ancestors", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L45"}, {"caller_nid": "crud_dept_collect_with_ancestors", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L49"}, {"caller_nid": "crud_dept_collect_with_ancestors", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L50"}, {"caller_nid": "crud_dept_collect_with_ancestors", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L50"}, {"caller_nid": "crud_dept_list_depts", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L61"}, {"caller_nid": "crud_dept_list_depts", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L61"}, {"caller_nid": "crud_dept_list_depts", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L63"}, {"caller_nid": "crud_dept_list_depts", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L64"}, {"caller_nid": "crud_dept_list_depts", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L67"}, {"caller_nid": "crud_dept_list_depts", "callee": "like", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L67"}, {"caller_nid": "crud_dept_list_depts", "callee": "apply_data_scope", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L70"}, {"caller_nid": "crud_dept_list_depts", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L71"}, {"caller_nid": "crud_dept_list_depts", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L71"}, {"caller_nid": "crud_dept_list_depts", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L71"}, {"caller_nid": "crud_dept_list_depts_tree", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L82"}, {"caller_nid": "crud_dept_list_depts_tree", "callee": "get", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L92"}, {"caller_nid": "crud_dept_get_dept", "callee": "first", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L99"}, {"caller_nid": "crud_dept_get_dept", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L99"}, {"caller_nid": "crud_dept_get_dept", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L99"}, {"caller_nid": "crud_dept_get_dept", "callee": "and_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L100"}, {"caller_nid": "crud_dept_create_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L119"}, {"caller_nid": "crud_dept_create_dept", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L121"}, {"caller_nid": "crud_dept_create_dept", "callee": "SysDept", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L122"}, {"caller_nid": "crud_dept_create_dept", "callee": "generate_uuid", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L123"}, {"caller_nid": "crud_dept_create_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L124"}, {"caller_nid": "crud_dept_create_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L126"}, {"caller_nid": "crud_dept_create_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L128"}, {"caller_nid": "crud_dept_create_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L129"}, {"caller_nid": "crud_dept_create_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L132"}, {"caller_nid": "crud_dept_create_dept", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L135"}, {"caller_nid": "crud_dept_create_dept", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L137"}, {"caller_nid": "crud_dept_create_dept", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L140"}, {"caller_nid": "crud_dept_create_dept", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L141"}, {"caller_nid": "crud_dept_create_dept", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L142"}, {"caller_nid": "crud_dept_update_dept", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L161"}, {"caller_nid": "crud_dept_update_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L163"}, {"caller_nid": "crud_dept_update_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L165"}, {"caller_nid": "crud_dept_update_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L169"}, {"caller_nid": "crud_dept_update_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L171"}, {"caller_nid": "crud_dept_update_dept", "callee": "strip", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L175"}, {"caller_nid": "crud_dept_update_dept", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L177"}, {"caller_nid": "crud_dept_update_dept", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L178"}, {"caller_nid": "crud_dept_update_dept", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L179"}, {"caller_nid": "crud_dept_update_dept", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L180"}, {"caller_nid": "crud_dept_cascade_soft_delete", "callee": "all", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L186"}, {"caller_nid": "crud_dept_cascade_soft_delete", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L186"}, {"caller_nid": "crud_dept_cascade_soft_delete", "callee": "query", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L186"}, {"caller_nid": "crud_dept_cascade_soft_delete", "callee": "and_", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L187"}, {"caller_nid": "crud_dept_cascade_soft_delete", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L193"}, {"caller_nid": "crud_dept_cascade_soft_delete", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L194"}, {"caller_nid": "crud_dept_soft_delete_dept", "callee": "ValueError", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L200"}, {"caller_nid": "crud_dept_soft_delete_dept", "callee": "now", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L203"}, {"caller_nid": "crud_dept_soft_delete_dept", "callee": "add", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L204"}, {"caller_nid": "crud_dept_soft_delete_dept", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/zkxw/backend/app/crud/dept.py", "source_location": "L205"}]}
|