code: def _parse_tags(config):
      """Parse out appropriate attributes and formats as tags.
  
      Args:
          config: project config dict
  
      Returns:
          List of tags
      """
      try:
          return [
              {
                  "Key": "sagemaker:project-id",
                  "Value": config["sagemakerProjectId"],
              },
              {
                  "Key": "sagemaker:project-name",
                  "Value": config["sagemakerProjectName"],
              },
          ]
      except Exception as e:  # pylint: disable=W0703
          logger.debug("Could not parse project config. %s", e)
  
file_path: sagemaker-python-sdk/src/sagemaker/_studio.py
imports: from __future__ import absolute_import
  import json
  import logging
  from pathlib import Path
label_desc: Use image node_id 4 for calling a global function with example usage: _parse_tags(config) and returns: list