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

Function instance_host

misc/python/materialize/scratch.py:116–119  ·  view source on GitHub ↗
(instance: Instance, user: str | None = None)

Source from the content-addressed store, hash-verified

114
115
116def instance_host(instance: Instance, user: str | None = None) -> str:
117 if user is None:
118 user = ami_user(tags(instance))
119 return f"{user}@{instance.id}"
120
121
122# Launch tags the instance Name as "{nonce}-{config name}"; the nonce is

Callers 3

msshFunction · 0.85
msftpFunction · 0.85
mkrepoFunction · 0.85

Calls 2

ami_userFunction · 0.85
tagsFunction · 0.85

Tested by

no test coverage detected