code: def install_from_src(dev=False):
      for binary in [".", "model-archiver/.", "workflow-archiver/."]:
          cmd = (
              f"pip install --force-reinstall -e {binary}"
              if dev
              else f"pip install --force-reinstall {binary}"
          )
          print(
              f"## In directory {os.getcwd()} | Executing command {cmd}"
          )
          os.system(cmd)
  
imports: import argparse
  import os
  import sys
  from ts_scripts import print_env_info
  from ts_scripts.utils import check_python_version
label_desc: Use image node_id 1 for calling a global function with example usage: install_from_src(dev) without return types