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

Function run

misc/python/materialize/cli/scratch/list_cmd.py:26–33  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

24
25
26def run(args: argparse.Namespace) -> None:
27 instances = list_all_instances(owners=args.owner or None, all=args.all)
28 # Show the owner column only when listing instances beyond your own.
29 print_instances(
30 instances,
31 args.output_format,
32 show_launched_by=args.all or bool(args.owner),
33 )

Callers

nothing calls this directly

Calls 2

list_all_instancesFunction · 0.90
print_instancesFunction · 0.90

Tested by

no test coverage detected