Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dabeaz-course/python-mastery
/ add_data
Method
add_data
Data/stocksim.py:71–72 ·
view source on GitHub ↗
(self,record)
Source
from the content-addressed store, hash-verified
69
self.change = 0
70
self.date =
""
71
def
add_data(self,record):
72
self.history.append(record)
73
def
reset(self,time):
74
self.time = time
75
# Sort the history by time
Callers
1
add_history
Method · 0.80
Calls
1
append
Method · 0.80
Tested by
no test coverage detected