code: def get_max_values(config_file):
      experiment_config = get_yml_content(config_file)
      if experiment_config.get("maxExecDuration"):
          return (
              parse_max_duration_time(
                  experiment_config["maxExecDuration"]
              ),
              experiment_config["maxTrialNum"],
          )
      else:
          return (
              parse_max_duration_time(
                  experiment_config["maxExperimentDuration"]
              ),
              experiment_config["maxTrialNumber"],
          )
  
imports: import argparse
  import datetime
  import json
  import os
  import subprocess
  import sys
  import time
  import yaml
  import validators
  from utils import CLEAR, EXPERIMENT_URL, GREEN, RED, REST_ENDPOINT, STATUS_URL, TRIAL_JOBS_URL, deep_update, dump_yml_content, get_experiment_dir, get_experiment_id, get_experiment_status, get_failed_trial_jobs, get_trial_stats, get_yml_content, parse_max_duration_time, print_experiment_log, print_trial_job_log, wait_for_port_available
label_desc: Use image node_id 5 for calling a global function with example usage: get_max_values(config_file) and returns: parse_max_duration_time,  experiment_config, parse_max_duration_time,  experiment_config