code: def get_platforms() -> List[str]:
      """Get a list of architectures declared in docker-compose.yml"""
      with open("docker/docker-compose.yml", "r") as f:
          compose_config = yaml.load(f.read(), yaml.SafeLoader)
      return list(compose_config["services"].keys())
  
file_path: mxnet/ci/build.py
imports: import argparse
  import pprint
  import os
  import signal
  import subprocess
  from itertools import chain
  from subprocess import check_call
  from typing import *
  import yaml
  from util import *
label_desc: Use image node_id 1 for calling a global function with example usage: get_platforms() and returns: list