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

Method _parse_arch

misc/python/materialize/mzbuild.py:1625–1632  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

1623 )
1624
1625 def _parse_arch(s: str) -> Arch:
1626 try:
1627 return Arch(s)
1628 except ValueError:
1629 valid = ", ".join(m.value for m in Arch)
1630 raise argparse.ArgumentTypeError(
1631 f"invalid arch: {s!r} (choose from {valid})"
1632 )
1633
1634 parser.add_argument(
1635 "--arch",

Callers

nothing calls this directly

Calls 2

ArchClass · 0.90
joinMethod · 0.45

Tested by

no test coverage detected