MCPcopy
hub / github.com/shidenggui/easyquotation / formatfundbjson

Method formatfundbjson

easyquotation/jsl.py:94–101  ·  view source on GitHub ↗

格式化集思录返回的json数据,以字典形式保存

(fundbjson)

Source from the content-addressed store, hash-verified

92
93 @staticmethod
94 def formatfundbjson(fundbjson):
95 """格式化集思录返回的json数据,以字典形式保存"""
96 d = {}
97 for row in fundbjson['rows']:
98 cell = row['cell']
99 fundb_id = cell['fundb_id']
100 d[fundb_id] = cell
101 return d
102
103 @staticmethod
104 def formatetfindexjson(fundbjson):

Callers 1

fundbMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected