MCPcopy Create free account
hub / github.com/MaterializeInc/demos / update

Method update

connection-examples/python/state.py:49–54  ·  view source on GitHub ↗
(self, updates: List[Update], timestamp: int)

Source from the content-addressed store, hash-verified

47 self.history.append(update)
48
49 def update(self, updates: List[Update], timestamp: int):
50 if len(updates) > 0:
51 self.validate(timestamp)
52 self.timestamp = timestamp
53 for update in updates:
54 self.process(update)

Callers 2

subscribe.pyFile · 0.45

Calls 2

validateMethod · 0.95
processMethod · 0.95

Tested by

no test coverage detected