MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / _short_name

Function _short_name

misc/python/materialize/scratch.py:127–130  ·  view source on GitHub ↗
(n: str | None)

Source from the content-addressed store, hash-verified

125
126
127def _short_name(n: str | None) -> str:
128 if not n:
129 return "-"
130 return _NONCE_PREFIX.sub("", n, count=1)
131
132
133def render_table(headers: list[str], rows: list[list[str]]) -> None:

Callers 1

print_instancesFunction · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected