MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / get_update_db_time

Method get_update_db_time

src/leetcode.py:158–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

156 return j['data']['question']['translatedTitle']
157
158 def get_update_db_time(self):
159 t = self.dict.get("leetcode_update_db_time")
160 if t == None:
161 return 0
162 return t
163
164 def save_update_db_time(self):
165 self.dict["leetcode_update_db_time"] = util.now()

Callers 1

update_dbMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected