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

Function _execute

dev/archery/archery/docker/cli.py:34–39  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

32
33 def _mock(compose, command_tuple):
34 def _execute(self, *args, **kwargs):
35 params = [f'{k}={v}'
36 for k, v in self.config.params.items()]
37 command = ' '.join(chain(params, command_tuple, args))
38 click.echo(command)
39 return CompletedProcess([], 0)
40 return MethodType(_execute, compose)
41
42 compose._execute_docker = _mock(compose, command_tuple=('docker',))

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected