dfffd0f10f0fee8e5490c26b94cdc3d7ea5d6f88f67d52fa8568954b740abef4.json 16 KB

1
  1. {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "label": "leave.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L1"}, {"id": "crud_leave_total_pages", "label": "total_pages()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L15"}, {"id": "crud_leave_row_to_dict", "label": "_row_to_dict()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L19"}, {"id": "crud_leave_list_leaves", "label": "list_leaves()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L39"}, {"id": "crud_leave_get_leave", "label": "get_leave()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L81"}, {"id": "crud_leave_create_leave", "label": "create_leave()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L86"}, {"id": "crud_leave_update_leave", "label": "update_leave()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L117"}, {"id": "crud_leave_update_leave_status", "label": "update_leave_status()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L137"}, {"id": "crud_leave_soft_delete_leave", "label": "soft_delete_leave()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L149"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L5", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L8", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L10", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "app_core_utils", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L11", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "app_models_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L12", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_total_pages", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L15", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_row_to_dict", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L19", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_list_leaves", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L39", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_get_leave", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L81", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_create_leave", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L86", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_update_leave", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L117", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_update_leave_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L137", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_crud_leave_py", "target": "crud_leave_soft_delete_leave", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L149", "weight": 1.0}, {"source": "crud_leave_list_leaves", "target": "crud_leave_row_to_dict", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L78", "weight": 1.0}, {"source": "crud_leave_get_leave", "target": "crud_leave_row_to_dict", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L83", "weight": 1.0}], "raw_calls": [{"caller_nid": "crud_leave_row_to_dict", "callee": "strftime", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L33"}, {"caller_nid": "crud_leave_row_to_dict", "callee": "strftime", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L35"}, {"caller_nid": "crud_leave_list_leaves", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L52"}, {"caller_nid": "crud_leave_list_leaves", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L52"}, {"caller_nid": "crud_leave_list_leaves", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L54"}, {"caller_nid": "crud_leave_list_leaves", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L56"}, {"caller_nid": "crud_leave_list_leaves", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L58"}, {"caller_nid": "crud_leave_list_leaves", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L60"}, {"caller_nid": "crud_leave_list_leaves", "callee": "in_", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L60"}, {"caller_nid": "crud_leave_list_leaves", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L61"}, {"caller_nid": "crud_leave_list_leaves", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L64"}, {"caller_nid": "crud_leave_list_leaves", "callee": "or_", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L64"}, {"caller_nid": "crud_leave_list_leaves", "callee": "like", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L64"}, {"caller_nid": "crud_leave_list_leaves", "callee": "like", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L64"}, {"caller_nid": "crud_leave_list_leaves", "callee": "apply_data_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L67"}, {"caller_nid": "crud_leave_list_leaves", "callee": "count", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L68"}, {"caller_nid": "crud_leave_list_leaves", "callee": "max", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L69"}, {"caller_nid": "crud_leave_list_leaves", "callee": "int", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L70"}, {"caller_nid": "crud_leave_list_leaves", "callee": "min", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L71"}, {"caller_nid": "crud_leave_list_leaves", "callee": "max", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L71"}, {"caller_nid": "crud_leave_list_leaves", "callee": "all", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L73"}, {"caller_nid": "crud_leave_list_leaves", "callee": "limit", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L73"}, {"caller_nid": "crud_leave_list_leaves", "callee": "offset", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L73"}, {"caller_nid": "crud_leave_list_leaves", "callee": "order_by", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L73"}, {"caller_nid": "crud_leave_list_leaves", "callee": "desc", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L73"}, {"caller_nid": "crud_leave_get_leave", "callee": "first", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L82"}, {"caller_nid": "crud_leave_get_leave", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L82"}, {"caller_nid": "crud_leave_get_leave", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L82"}, {"caller_nid": "crud_leave_create_leave", "callee": "BizLeaveRequest", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L99"}, {"caller_nid": "crud_leave_create_leave", "callee": "generate_uuid", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L100"}, {"caller_nid": "crud_leave_create_leave", "callee": "add", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L112"}, {"caller_nid": "crud_leave_create_leave", "callee": "flush", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L113"}, {"caller_nid": "crud_leave_update_leave", "callee": "first", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L118"}, {"caller_nid": "crud_leave_update_leave", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L118"}, {"caller_nid": "crud_leave_update_leave", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L118"}, {"caller_nid": "crud_leave_update_leave", "callee": "items", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L129"}, {"caller_nid": "crud_leave_update_leave", "callee": "setattr", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L131"}, {"caller_nid": "crud_leave_update_leave", "callee": "now", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L133"}, {"caller_nid": "crud_leave_update_leave", "callee": "flush", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L134"}, {"caller_nid": "crud_leave_update_leave_status", "callee": "first", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L138"}, {"caller_nid": "crud_leave_update_leave_status", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L138"}, {"caller_nid": "crud_leave_update_leave_status", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L138"}, {"caller_nid": "crud_leave_update_leave_status", "callee": "now", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L145"}, {"caller_nid": "crud_leave_update_leave_status", "callee": "flush", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L146"}, {"caller_nid": "crud_leave_soft_delete_leave", "callee": "first", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L150"}, {"caller_nid": "crud_leave_soft_delete_leave", "callee": "filter", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L150"}, {"caller_nid": "crud_leave_soft_delete_leave", "callee": "query", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L150"}, {"caller_nid": "crud_leave_soft_delete_leave", "callee": "assert_row_deletable_by_creator", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L153"}, {"caller_nid": "crud_leave_soft_delete_leave", "callee": "now", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L156"}, {"caller_nid": "crud_leave_soft_delete_leave", "callee": "flush", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/crud/leave.py", "source_location": "L157"}]}