| 1 |
- {"nodes": [{"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "label": "inventory.py", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L1"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "label": "_base_query()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L48"}, {"id": "session", "label": "Session", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "label": "_generate_batch_no()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L55"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "label": "_resolve_tenant_no()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L75"}, {"id": "dbusercontext", "label": "DbUserContext", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "label": "_get_inventory_by_id()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L93"}, {"id": "dbinboundoutbound", "label": "DbInboundOutbound", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "label": "_get_inventory()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L107"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "label": "_apply_inventory_product_update()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L124"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "label": "_apply_inventory_update()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L140"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "label": "_maybe_promote_third_party_status()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L158"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "label": "list_inventory()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L169"}, {"id": "inboundoutboundread", "label": "InboundOutboundRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "label": "create_inventory()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L276"}, {"id": "inboundoutboundcreate", "label": "InboundOutboundCreate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "label": "create_link_for_plan()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L324"}, {"id": "createlinkforplanpayload", "label": "CreateLinkForPlanPayload", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "label": "get_inventory_site_url()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L375"}, {"id": "inventorysiteurlread", "label": "InventorySiteUrlRead", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "label": "update_inventory()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L408"}, {"id": "inboundoutboundupdate", "label": "InboundOutboundUpdate", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "label": "delete_inventory()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L426"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryrelateddata", "label": "InventoryRelatedData", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L446"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "label": "get_inventory_related()", "file_type": "code", "source_file": "backend/app/api/db/inventory.py", "source_location": "L452"}, {"id": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_rationale_392", "label": "\u5355\u6761\u67e5\u8be2\uff08\u4e09\u65b9 H5 \u586b\u5199\u9875\u65e0\u9700\u95e8\u6237\u767b\u5f55\uff09\u3002", "file_type": "rationale", "source_file": "backend/app/api/db/inventory.py", "source_location": "L392"}], "edges": [{"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L1", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "re", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L6", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_core_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L11", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_core_db_auth", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L12", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_core_delete_guard", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L13", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_core_tenant_context", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_services_db_data_scope", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L15", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_services_db_inventory_id", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L16", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_models_db_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L17", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_schemas_db_inventory", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L18", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_schemas_db_public_inventory", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L24", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_schemas_db_plans", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L25", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_schemas_db_weighing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L26", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_services_db_mappers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L27", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_services_db_product_helpers", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L36", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "app_services_db_inventory_site_token", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L40", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L48", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L48", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L55", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L55", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "target": "dbusercontext", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L75", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L93", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L93", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "target": "dbinboundoutbound", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L93", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L107", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L107", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L107", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "dbinboundoutbound", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L107", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L124", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L124", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "target": "dbinboundoutbound", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L124", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L140", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "target": "dbinboundoutbound", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L140", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L158", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "target": "dbinboundoutbound", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L158", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L169", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L169", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L169", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "target": "inboundoutboundread", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L169", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L276", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "inboundoutboundcreate", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L276", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L276", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "dbusercontext", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L276", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "inboundoutboundread", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L276", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L324", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "target": "createlinkforplanpayload", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L324", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L324", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L324", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "target": "inboundoutboundread", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L324", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L375", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L375", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L375", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "target": "inventorysiteurlread", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L375", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L388", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L388", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "inboundoutboundread", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L388", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L408", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "inboundoutboundupdate", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L408", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L408", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "inboundoutboundread", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L408", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L426", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L426", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "target": "dbusercontext", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L426", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryrelateddata", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L446", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryrelateddata", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L446", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_py", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L452", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "target": "session", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L452", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryrelateddata", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L452", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L111", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L186", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L281", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L285", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "target": "dbinboundoutbound", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L295", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "target": "dbinboundoutbound", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L348", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L359", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L381", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "target": "inventorysiteurlread", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L384", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L393", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L414", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L417", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L418", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L419", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L432", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L456", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryrelateddata", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L480", "weight": 1.0}, {"source": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_rationale_392", "target": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/api/db/inventory.py", "source_location": "L392", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L49", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "callee": "DbInboundOutbound", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L49"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L57", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "callee": "like", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L61", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "callee": "compile", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L66", "receiver": "re"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "callee": "match", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L69", "receiver": "pattern"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "callee": "group", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L71", "receiver": "match"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L81", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L81", "receiver": "user"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "callee": "one_or_none", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L84", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L84", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "callee": "DbPurchasePlan", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L84"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L90", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "callee": "one_or_none", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L95", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L95", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "callee": "DbInboundOutbound", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L95"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L100", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "one_or_none", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L111", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "tenant_no", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L111"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L116", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "assert_db_row_in_scope", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L120", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "DbInboundOutbound", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L120"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "user", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L120"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "tenant_no", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L120"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L128", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "callee": "pop", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L132", "receiver": "payload_dict"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "callee": "pop", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L133", "receiver": "payload_dict"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "callee": "pop", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L134", "receiver": "payload_dict"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "callee": "resolve_crm_product", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L136", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "callee": "apply_product_snapshot_to_inventory", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L137", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "items", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L141", "receiver": "payload_dict"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L143"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L144", "receiver": "value"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L148"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L148", "receiver": "value"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "EMPTY_INVENTORY_DATE", "is_member_call": false, "indirect": true, "context": "assignment", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L149"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "parse_date_str", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L151", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L153"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L154", "receiver": "value"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "callee": "is_empty_inventory_date", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L161", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L163", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L185", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L185", "receiver": "user"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "order_by", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L186", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "desc", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L187", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "desc", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L188", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L192", "receiver": "q"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "or_", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L194", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L195", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L195", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L196", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L196", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L197", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L197", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L198", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L198", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L199", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L199", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L204", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L207", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L211", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L211", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L211", "receiver": "partner_company"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L215", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L215", "receiver": "func"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "lower", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L215", "receiver": "product"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "contains", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L218", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "parse_date_str", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L221", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "parse_date_str", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L226", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "apply_db_scope", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L236", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "DbInboundOutbound", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L236"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "order_by", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L242", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L242", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "DbWeighingSlip", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L242"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "in_", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L246", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "asc", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L249", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "load_user_display_name_map", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L260", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "append", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L263", "receiver": "result_list"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "inventory_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L264", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "callee": "get", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L266", "receiver": "weighing_map"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L283", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L288", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L289", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "resolve_crm_product", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L293", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "next_inbound_outbound_id", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L296", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "parse_date_str", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L298", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "date", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L298", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "now", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L298", "receiver": "datetime"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L299", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L302", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L304", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "apply_product_snapshot_to_inventory", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L311", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "ensure_site_access_token", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L312", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "add", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L313", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "commit", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L314", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "refresh", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L315", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "callee": "inventory_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L316", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L329", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L329", "receiver": "user"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "one_or_none", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L331", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L331", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "DbPurchasePlan", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L331"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L340", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L343", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "EMPTY_INVENTORY_DATE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L351"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "STATUS_THIRD_PARTY_FILL", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L361"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "next_inbound_outbound_id", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L349", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L352", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L355", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "strip", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L358", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "ensure_site_access_token", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L367", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "add", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L368", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "commit", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L369", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "refresh", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L370", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "callee": "inventory_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L371", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L380", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L380", "receiver": "user"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "callee": "ensure_site_access_token", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L382", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "callee": "commit", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L383", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "callee": "build_site_inventory_url", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L384", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "first", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L395", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "order_by", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L395", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L395", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "DbWeighingSlip", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L395"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "asc", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L401", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "callee": "inventory_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L404", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "callee": "model_dump", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L415", "receiver": "payload"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "callee": "commit", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L420", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "callee": "refresh", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L421", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory", "callee": "inventory_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L422", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "callee": "get_tenant_no", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L431", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "callee": "to_tenant_user_dict", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L431", "receiver": "user"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "callee": "HTTPException", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L435", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "callee": "assert_row_deletable_by_creator", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L440", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "callee": "user_info_from_context", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L440", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "callee": "commit", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L443", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "one_or_none", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L461", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L461", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "DbPurchasePlan", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L461"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "first", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L470", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "limit", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L470", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "query", "is_member_call": true, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L470", "receiver": "db"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "DbWeighingSlip", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L470"}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "plan_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L481", "receiver": null}, {"caller_nid": "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "callee": "weighing_to_read", "is_member_call": false, "source_file": "/Users/wuzilong/work/00code/shanxia2.0/backend/app/api/db/inventory.py", "source_location": "L482", "receiver": null}], "callable_nids": ["users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_product_update", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_apply_inventory_update", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_base_query", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_inventory", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_create_link_for_plan", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_delete_inventory", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_generate_batch_no", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_by_id", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_related", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_get_inventory_site_url", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_inventoryrelateddata", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_list_inventory", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_maybe_promote_third_party_status", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_resolve_tenant_no", "users_wuzilong_work_00code_shanxia2_0_backend_app_api_db_inventory_update_inventory"]}
|