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

Method wrapper

dev/archery/archery/utils/command.py:45–48  ·  view source on GitHub ↗
(*argv, **kwargs)

Source from the content-addressed store, hash-verified

43 return x.decode('utf-8').splitlines() if self.listify else x
44
45 def wrapper(*argv, **kwargs):
46 # Ensure stdout is captured
47 kwargs["stdout"] = subprocess.PIPE
48 return list_it(strip_it(f(*argv, **kwargs).stdout))
49 return wrapper
50
51

Callers

nothing calls this directly

Calls 1

fFunction · 0.85

Tested by

no test coverage detected