MCPcopy Create free account
hub / github.com/apache/arrow / check_language

Function check_language

dev/archery/archery/cli.py:319–322  ·  view source on GitHub ↗
(ctx, param, value)

Source from the content-addressed store, hash-verified

317
318def benchmark_common_options(cmd):
319 def check_language(ctx, param, value):
320 if value not in {"cpp", "java"}:
321 raise click.BadParameter("cpp or java is supported now")
322 return value
323
324 options = [
325 click.option("--src", metavar="<arrow_src>", show_default=True,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected