| 1 |
- {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "label": "db_data_scope.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L1"}, {"id": "services_db_data_scope_apply_db_scope", "label": "apply_db_scope()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L14"}, {"id": "services_db_data_scope_assert_db_row_in_scope", "label": "assert_db_row_in_scope()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L19"}, {"id": "services_db_data_scope_rationale_1", "label": "DB \u5730\u78c5\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/db_data_scope.py", "source_location": "L1"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L6", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_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/db_data_scope.py", "source_location": "L8", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "target": "app_core_db_auth", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L11", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "target": "services_db_data_scope_apply_db_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L14", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "target": "services_db_data_scope_assert_db_row_in_scope", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L19", "weight": 1.0}, {"source": "services_db_data_scope_rationale_1", "target": "users_zlwu_work_00code_shanxia2_0_backend_app_services_db_data_scope_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_db_data_scope_apply_db_scope", "callee": "apply_data_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L16"}, {"caller_nid": "services_db_data_scope_apply_db_scope", "callee": "to_user_info", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L16"}, {"caller_nid": "services_db_data_scope_assert_db_row_in_scope", "callee": "assert_row_in_data_scope", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L27"}, {"caller_nid": "services_db_data_scope_assert_db_row_in_scope", "callee": "to_user_info", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/services/db_data_scope.py", "source_location": "L27"}]}
|