code: def format_run(args):
      cmd = ["run", "--rm"]
      if isinstance(args, str):
          return " ".join(cmd + [args])
      else:
          return cmd + args
  
imports: import collections
  import os
  import re
  import subprocess
  from unittest import mock
  import pytest
  from archery.docker import DockerCompose
  from archery.testing import assert_subprocess_calls, override_env, PartialEnv
label_desc: Use image node_id 2 for calling a global function with example usage: format_run(args) and returns: str, unknown