def _get_atm(args): sql_conf = SQLConfig(args) aws_conf = AWSConfig(args) log_conf = LogConfig(args) return ATM(**sql_conf.to_dict(), **aws_conf.to_dict(), **log_conf.to_dict())
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)