MCPcopy Index your code
hub / github.com/pathwaycom/pathway / mock

Method mock

python/pathway/persistence/__init__.py:99–100  ·  view source on GitHub ↗
(cls, events: dict[tuple[str, int], list[api.SnapshotEvent]])

Source from the content-addressed store, hash-verified

97
98 @classmethod
99 def mock(cls, events: dict[tuple[str, int], list[api.SnapshotEvent]]):
100 return cls(api.DataStorage(storage_type="mock", mock_events=events))
101
102 @property
103 def engine_data_storage(self):

Callers 2

persistence_configMethod · 0.80

Calls

no outgoing calls

Tested by 1