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

Function get_binary_stdin

src/click/_compat.py:316–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

314
315
316def get_binary_stdin() -> t.BinaryIO:
317 reader = _find_binary_reader(sys.stdin)
318 if reader is None:
319 raise RuntimeError("Was not able to determine binary stream for sys.stdin.")
320 return reader
321
322
323def get_binary_stdout() -> t.BinaryIO:

Callers 1

open_streamFunction · 0.85

Calls 1

_find_binary_readerFunction · 0.85

Tested by

no test coverage detected