1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "label": "fallback.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L1"}, {"id": "data_platform_fallback_fallbackmanager", "label": "FallbackManager", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L14"}, {"id": "data_platform_fallback_fallbackmanager_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L15"}, {"id": "data_platform_fallback_fallbackmanager_get_source_used", "label": ".get_source_used()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L18"}, {"id": "data_platform_fallback_fallbackmanager_get_daily", "label": ".get_daily()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L21"}, {"id": "data_platform_fallback_fallbackmanager_get_realtime", "label": ".get_realtime()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L43"}, {"id": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "label": "._fetch_akshare_daily()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L50"}, {"id": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "label": "._fetch_tencent_daily()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L66"}, {"id": "data_platform_fallback_rationale_22", "label": "\u83b7\u53d6\u65e5\u7ebf\u6570\u636e\uff0c\u964d\u7ea7\u94fe\uff1aakshare \u2192 \u817e\u8bafK\u7ebf", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L22"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "pandas", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L3", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "urllib_request", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L4", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L5", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "logging", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L8", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_data_platform_fallback_py", "target": "data_platform_fallback_fallbackmanager", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L14", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager", "target": "data_platform_fallback_fallbackmanager_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L15", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager", "target": "data_platform_fallback_fallbackmanager_get_source_used", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L18", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager", "target": "data_platform_fallback_fallbackmanager_get_daily", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L21", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager", "target": "data_platform_fallback_fallbackmanager_get_realtime", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L43", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager", "target": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L50", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager", "target": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L66", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager_get_daily", "target": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L25", "weight": 1.0}, {"source": "data_platform_fallback_fallbackmanager_get_daily", "target": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L34", "weight": 1.0}, {"source": "data_platform_fallback_rationale_22", "target": "data_platform_fallback_fallbackmanager_get_daily", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L22", "weight": 1.0}], "raw_calls": [{"caller_nid": "data_platform_fallback_fallbackmanager_get_daily", "callee": "warning", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L30"}, {"caller_nid": "data_platform_fallback_fallbackmanager_get_daily", "callee": "warning", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L39"}, {"caller_nid": "data_platform_fallback_fallbackmanager_get_daily", "callee": "RuntimeError", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L41"}, {"caller_nid": "data_platform_fallback_fallbackmanager_get_realtime", "callee": "get_realtime_quote", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L46"}, {"caller_nid": "data_platform_fallback_fallbackmanager_get_realtime", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L47"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L52"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L52"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L52"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L52"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L53"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L54"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "stock_zh_a_hist", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L55"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "rename", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L58"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "strftime", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L61"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "to_datetime", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L61"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "fillna", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L63"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_akshare_daily", "callee": "to_numeric", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L63"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L68"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L68"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L68"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "replace", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L68"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "startswith", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L69"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "strptime", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L75"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "strptime", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L75"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "build_opener", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L79"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "ProxyHandler", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L79"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "Request", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L80"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "open", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L81"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "loads", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L82"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "read", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L82"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L83"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "isinstance", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L84"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L86"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L86"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "DataFrame", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L89"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L90"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "fillna", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L98"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "to_numeric", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L98"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "strftime", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L99"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "to_datetime", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L99"}, {"caller_nid": "data_platform_fallback_fallbackmanager_fetch_tencent_daily", "callee": "warning", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/fallback.py", "source_location": "L103"}]} |