MCPcopy
hub / github.com/pallets/click / input_non_lazy

Function input_non_lazy

tests/test_basic.py:388–389  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

386 @click.command()
387 @click.option("--file", type=click.File("w", lazy=False))
388 def input_non_lazy(file):
389 file.write("Hello World!\n")
390
391 with runner.isolated_filesystem():
392 os.mkdir("example.txt")

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected