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

Function get_instance

misc/python/materialize/cli/scratch/__init__.py:37–42  ·  view source on GitHub ↗

Resolve an instance by ID.

(instance_id: str)

Source from the content-addressed store, hash-verified

35
36
37def get_instance(instance_id: str) -> Instance:
38 """Resolve an instance by ID."""
39 check_required_vars()
40 from materialize.scratch import get_instance as _get
41
42 return _get(instance_id)
43
44
45def pick_instance() -> Instance:

Callers 6

runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90
runFunction · 0.90

Calls 2

check_required_varsFunction · 0.85
_getFunction · 0.85

Tested by

no test coverage detected