code: def _sha256(version, print_=True, local=False):
      if local:
          out = run(*(["shasum", "-a", "256"] + release_files(version)))
      else:
          raise ValueError("Should not get here...")
          # out = run(*(['shasum', '-a', '256', '/root/release/*']))
      # Remove the release/ part for printing. Useful for copy-pasting into the
      # release notes.
      out = [i.split() for i in out]
      out = "\n".join(
          ["%s\t%s" % (i, os.path.split(j)[1]) for i, j in out]
      )
      if print_:
          print(out)
      return out
  
imports: import os
  import json
  from subprocess import check_output
  from collections import OrderedDict, defaultdict
  from collections.abc import Mapping
  import glob
  from contextlib import contextmanager
  import requests
  from requests_oauthlib import OAuth2
label_desc: Use image node_id 19 for calling a global function with example usage: _sha256(version, print_, local) and returns: out