code: def _get_atm(args):
      sql_conf = SQLConfig(args)
      aws_conf = AWSConfig(args)
      log_conf = LogConfig(args)
  
      # Build params dictionary to pass to ATM.
      # Needed because Python 2.7 does not support multiple star operators in a single statement.
      atm_args = sql_conf.to_dict()
      atm_args.update(aws_conf.to_dict())
      atm_args.update(log_conf.to_dict())
  
      return ATM(**atm_args)
  
imports: import argparse
  import logging
  import multiprocessing
  import os
  import time
  import psutil
  from daemon import DaemonContext
  from lockfile.pidlockfile import PIDLockFile
  from atm.api import create_app
  from atm.config import AWSConfig, DatasetConfig, LogConfig, RunConfig, SQLConfig
  from atm.core import ATM
  from atm.data import copy_files, download_demo, get_demos
label_desc: Use image node_id 1 for calling a global function with example usage: _get_atm(args) and returns: ATM