MCPcopy Create free account
hub / github.com/AsyncAlgoTrading/aat / callback

Method callback

aat/data_source.py:71–73  ·  view source on GitHub ↗
(self, field: str, data, *args, **kwargs)

Source from the content-addressed store, hash-verified

69 '''receive data and call callbacks'''
70
71 def callback(self, field: str, data, *args, **kwargs) -> None:
72 for cb in self._callbacks[field]:
73 cb(data, *args, **kwargs)
74
75 # Data functions
76 @abstractmethod

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected