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

Method formatfundajson

easyquotation/jsl.py:84–91  ·  view source on GitHub ↗

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

(fundajson)

Source from the content-addressed store, hash-verified

82
83 @staticmethod
84 def formatfundajson(fundajson):
85 """格式化集思录返回的json数据,以字典形式保存"""
86 d = {}
87 for row in fundajson['rows']:
88 funda_id = row['id']
89 cell = row['cell']
90 d[funda_id] = cell
91 return d
92
93 @staticmethod
94 def formatfundbjson(fundbjson):

Callers 3

fundaMethod · 0.95
fundmMethod · 0.95
fundarbMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected