MCPcopy
hub / github.com/microsoft/qlib / pop

Method pop

qlib/data/cache.py:103–107  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

101 return k, v
102
103 def pop(self, key):
104 v = self.od.pop(key)
105 self._size -= self._get_value_size(v)
106
107 return v
108
109 def _adjust_size(self, key, value):
110 if key in self.od:

Callers 15

cache_small_dataMethod · 0.80
get_next_parametersMethod · 0.80
pop_time_markMethod · 0.80
get_cost_timeMethod · 0.80
log_cost_timeMethod · 0.80
initFunction · 0.80
init_from_yaml_confFunction · 0.80
auto_initFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
_gen_dataframeMethod · 0.80
_gen_dataMethod · 0.80

Calls 1

_get_value_sizeMethod · 0.95

Tested by 2

_generate_reportFunction · 0.64
backtestFunction · 0.64