Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
127
def
_short_name(n: str | None) -> str:
128
if
not n:
129
return
"-"
130
return
_NONCE_PREFIX.sub(
""
, n, count=1)
131
132
133
def
render_table(headers: list[str], rows: list[list[str]]) -> None:
Callers
1
print_instances
Function · 0.85
Calls
1
sub
Method · 0.45
Tested by
no test coverage detected