MCPcopy Index your code
hub / github.com/dabeaz-course/python-mastery / publish

Method publish

Data/stocksim.py:134–136  ·  view source on GitHub ↗
(self,record)

Source from the content-addressed store, hash-verified

132 self.observers.append(observer)
133
134 def publish(self,record):
135 for obj in self.observers:
136 obj.update(record)
137 def add_history(self,filename):
138 hist = read_history(filename)
139 for record in hist:

Callers 1

runMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected