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

Method formatdict

dev/archery/archery/docker/core.py:204–207  ·  view source on GitHub ↗
(d, template)

Source from the content-addressed store, hash-verified

202 result.check_returncode()
203 except subprocess.CalledProcessError as e:
204 def formatdict(d, template):
205 return '\n'.join(
206 template.format(k, v) for k, v in sorted(d.items())
207 )
208 msg = (
209 "`{cmd}` exited with a non-zero exit code {code}, see the "
210 "process log above.\n\nThe {bin} command was "

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected