MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / format_image

Function format_image

samples/stream_consumer.py:92–99  ·  view source on GitHub ↗
(image: dict | None)

Source from the content-addressed store, hash-verified

90
91 log("WRITER", "All writes complete. Waiting for poller to catch up...")
92def format_image(image: dict | None) -> str:
93 if not image:
94 return "{}"
95 parts = []
96 for k, v in sorted(image.items()):
97 typ = list(v.keys())[0]
98 parts.append(f"{k}={v[typ]}")
99 return " ".join(parts)
100def poller_thread() -> None:
101 client = make_client()
102 streams_client = make_client("dynamodbstreams")

Callers 1

poller_threadFunction · 0.85

Calls 1

listFunction · 0.85

Tested by

no test coverage detected