| 1 |
- {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "label": "bx_data_scope.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L1"}, {"id": "services_bx_data_scope_apply_bx_scope", "label": "apply_bx_scope()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L13"}, {"id": "services_bx_data_scope_assert_bx_row_in_scope", "label": "assert_bx_row_in_scope()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L18"}, {"id": "services_bx_data_scope_assert_bx_biz_in_scope", "label": "assert_bx_biz_in_scope()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L29"}, {"id": "services_bx_data_scope_assert_bx_attachment_biz_in_scope", "label": "assert_bx_attachment_biz_in_scope()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L63"}, {"id": "services_bx_data_scope_rationale_1", "label": "BX \u6a21\u5757\u6570\u636e\u6743\u9650\u8f85\u52a9\uff08create_by / create_dept_id\uff09\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L1"}, {"id": "services_bx_data_scope_rationale_36", "label": "\u9644\u4ef6\u4e0b\u8f7d/\u5220\u9664/\u7ed1\u5b9a\u524d\u6821\u9a8c\u5173\u8054\u4e1a\u52a1\u5355\u5728\u6570\u636e\u6743\u9650\u5185\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L36"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L5", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "app_core_data_scope", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "app_core_bx_auth", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L10", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "services_bx_data_scope_apply_bx_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L13", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "services_bx_data_scope_assert_bx_row_in_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L18", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "services_bx_data_scope_assert_bx_biz_in_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L29", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "target": "services_bx_data_scope_assert_bx_attachment_biz_in_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L63", "weight": 1.0}, {"source": "services_bx_data_scope_assert_bx_attachment_biz_in_scope", "target": "services_bx_data_scope_assert_bx_biz_in_scope", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L70", "weight": 1.0}, {"source": "services_bx_data_scope_rationale_1", "target": "users_zlwu_work_00code_shanxia2_0_backend_app_services_bx_data_scope_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L1", "weight": 1.0}, {"source": "services_bx_data_scope_rationale_36", "target": "services_bx_data_scope_assert_bx_biz_in_scope", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L36", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_bx_data_scope_apply_bx_scope", "callee": "apply_data_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L15"}, {"caller_nid": "services_bx_data_scope_apply_bx_scope", "callee": "to_user_info", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L15"}, {"caller_nid": "services_bx_data_scope_assert_bx_row_in_scope", "callee": "assert_row_in_data_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L26"}, {"caller_nid": "services_bx_data_scope_assert_bx_row_in_scope", "callee": "to_user_info", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L26"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L37"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "lower", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L40"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "strip", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L40"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "get_by_id", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L44"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L46"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "get_by_id", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L51"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L53"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "get_by_id", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L58"}, {"caller_nid": "services_bx_data_scope_assert_bx_biz_in_scope", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L60"}, {"caller_nid": "services_bx_data_scope_assert_bx_attachment_biz_in_scope", "callee": "getattr", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L72"}, {"caller_nid": "services_bx_data_scope_assert_bx_attachment_biz_in_scope", "callee": "getattr", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/bx_data_scope.py", "source_location": "L73"}]}
|