code: def get_package_commands(self, code_package_url, datastore_type):
      cmds = [
          BASH_MFLOG,
          "mflog 'Setting up task environment.'",
          self._get_install_dependencies_cmd(datastore_type),
          "mkdir metaflow",
          "cd metaflow",
          "mkdir .metaflow",  # mute local datastore creation log
          "i=0; while [ $i -le 5 ]; do "
          "mflog 'Downloading code package...'; "
          + self._get_download_code_package_cmd(
              code_package_url, datastore_type
          )
          + " && mflog 'Code package downloaded.' && break; "
          "sleep 10; i=$((i+1)); "
          "done",
          "if [ $i -gt 5 ]; then "
          "mflog 'Failed to download code package from %s "
          "after 6 tries. Exiting...' && exit 1; "
          "fi" % code_package_url,
          "TAR_OPTIONS='--warning=no-timestamp' tar xf job.tar",
          "mflog 'Task is starting.'",
      ]
      return cmds
  
imports: import os
  import platform
  import sys
  from .util import get_username
  from .None import metaflow_version
  from metaflow.exception import MetaflowException
  from metaflow.extension_support import dump_module_info
  from metaflow.mflog import BASH_MFLOG
  from .None import R
label_desc: Use image node_id 11 for calling the MetaflowEnvironment obj's underlying member method code with example usage: obj.get_package_commands(code_package_url, datastore_type) and returns: cmds