code: def get_nni_log_dir(experiment_url=None, experiment_id=None):
      """get nni's log directory from nni's experiment url"""
      return os.path.join(
          get_experiment_dir(experiment_url, experiment_id), "log"
      )
  
imports: import contextlib
  import collections
  import os
  import socket
  import sys
  import subprocess
  import requests
  import time
  import yaml
  import shlex
  import warnings
label_desc: Use image node_id 8 for calling a global function with example usage: get_nni_log_dir(experiment_url, experiment_id) and returns: os