| 1 |
- {"nodes": [{"id": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "label": "base.py", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L1"}, {"id": "crud_base_camel_to_snake", "label": "camel_to_snake()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L14"}, {"id": "crud_base_get_model_attr", "label": "get_model_attr()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L20"}, {"id": "crud_base_crudbase", "label": "CRUDBase", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L33"}, {"id": "crud_base_crudbase_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L36"}, {"id": "crud_base_crudbase_get", "label": ".get()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L39"}, {"id": "crud_base_crudbase_get_multi", "label": ".get_multi()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L43"}, {"id": "crud_base_crudbase_get_all", "label": ".get_all()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L67"}, {"id": "crud_base_crudbase_create", "label": ".create()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L74"}, {"id": "crud_base_crudbase_update", "label": ".update()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L95"}, {"id": "crud_base_crudbase_delete", "label": ".delete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L114"}, {"id": "crud_base_crudbase_hard_delete", "label": ".hard_delete()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L126"}, {"id": "crud_base_crudbase_count", "label": ".count()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L135"}, {"id": "crud_base_crudbase_exists", "label": ".exists()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L142"}, {"id": "crud_base_historycrud", "label": "HistoryCRUD", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L150"}, {"id": "crud_base_historycrud_create_history", "label": ".create_history()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L153"}], "edges": [{"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L2", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L3", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L4", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L5", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "app_core_utils", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L7", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "app_core_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L8", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L9", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "crud_base_camel_to_snake", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L14", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "crud_base_get_model_attr", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L20", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "crud_base_crudbase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L33", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L36", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L39", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_get_multi", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L43", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_get_all", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L67", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_create", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L74", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_update", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L95", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L114", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_hard_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L126", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_count", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L135", "weight": 1.0}, {"source": "crud_base_crudbase", "target": "crud_base_crudbase_exists", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L142", "weight": 1.0}, {"source": "users_wuzilong_work_00code_sqxp_2_backend_app_crud_base_py", "target": "crud_base_historycrud", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L150", "weight": 1.0}, {"source": "crud_base_historycrud", "target": "crud_base_historycrud_create_history", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L153", "weight": 1.0}, {"source": "crud_base_get_model_attr", "target": "crud_base_camel_to_snake", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L26", "weight": 1.0}, {"source": "crud_base_crudbase_create", "target": "crud_base_get_model_attr", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L78", "weight": 1.0}, {"source": "crud_base_crudbase_update", "target": "crud_base_crudbase_get", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L97", "weight": 1.0}, {"source": "crud_base_crudbase_update", "target": "crud_base_get_model_attr", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L100", "weight": 1.0}, {"source": "crud_base_crudbase_delete", "target": "crud_base_crudbase_get", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L116", "weight": 1.0}, {"source": "crud_base_crudbase_hard_delete", "target": "crud_base_crudbase_get", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L128", "weight": 1.0}, {"source": "crud_base_crudbase_hard_delete", "target": "crud_base_crudbase_delete", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L130", "weight": 1.0}], "raw_calls": [{"caller_nid": "crud_base_camel_to_snake", "callee": "sub", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L16"}, {"caller_nid": "crud_base_camel_to_snake", "callee": "lower", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L17"}, {"caller_nid": "crud_base_camel_to_snake", "callee": "sub", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L17"}, {"caller_nid": "crud_base_get_model_attr", "callee": "hasattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L23"}, {"caller_nid": "crud_base_get_model_attr", "callee": "hasattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L27"}, {"caller_nid": "crud_base_crudbase_get", "callee": "first", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L41"}, {"caller_nid": "crud_base_crudbase_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L41"}, {"caller_nid": "crud_base_crudbase_get", "callee": "query", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L41"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "query", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L53"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L55"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "getattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L57"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L60"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "asc", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L60"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L62"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L62"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "order_by", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L64"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "desc", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L64"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "all", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L65"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "limit", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L65"}, {"caller_nid": "crud_base_crudbase_get_multi", "callee": "offset", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L65"}, {"caller_nid": "crud_base_crudbase_get_all", "callee": "query", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L69"}, {"caller_nid": "crud_base_crudbase_get_all", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L71"}, {"caller_nid": "crud_base_crudbase_get_all", "callee": "all", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L72"}, {"caller_nid": "crud_base_crudbase_create", "callee": "model", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L76"}, {"caller_nid": "crud_base_crudbase_create", "callee": "items", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L77"}, {"caller_nid": "crud_base_crudbase_create", "callee": "setattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L80"}, {"caller_nid": "crud_base_crudbase_create", "callee": "generate_id", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L83"}, {"caller_nid": "crud_base_crudbase_create", "callee": "add", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L90"}, {"caller_nid": "crud_base_crudbase_create", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L91"}, {"caller_nid": "crud_base_crudbase_create", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L92"}, {"caller_nid": "crud_base_crudbase_update", "callee": "items", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L99"}, {"caller_nid": "crud_base_crudbase_update", "callee": "setattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L102"}, {"caller_nid": "crud_base_crudbase_update", "callee": "now", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L109"}, {"caller_nid": "crud_base_crudbase_update", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L110"}, {"caller_nid": "crud_base_crudbase_update", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L111"}, {"caller_nid": "crud_base_crudbase_delete", "callee": "hasattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L118"}, {"caller_nid": "crud_base_crudbase_delete", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L122"}, {"caller_nid": "crud_base_crudbase_hard_delete", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L131"}, {"caller_nid": "crud_base_crudbase_count", "callee": "query", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L137"}, {"caller_nid": "crud_base_crudbase_count", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L139"}, {"caller_nid": "crud_base_crudbase_exists", "callee": "query", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L144"}, {"caller_nid": "crud_base_crudbase_exists", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L146"}, {"caller_nid": "crud_base_crudbase_exists", "callee": "first", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L147"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "model", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L155"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "items", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L157"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "hasattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L158"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "setattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L159"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "hasattr", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L161"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "now", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L162"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "add", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L163"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "commit", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L164"}, {"caller_nid": "crud_base_historycrud_create_history", "callee": "refresh", "source_file": "/Users/wuzilong/work/00code/sqxp_\u526f\u672c2/backend/app/crud/base.py", "source_location": "L165"}]}
|