code: def safe_mkdir(dir):
      try:
          os.makedirs(dir)
      except FileExistsError:
          pass
  
file_path: metaflow/metaflow/plugins/airflow/airflow_decorator.py
imports: import json
  import os
  from metaflow.decorators import StepDecorator
  from metaflow.metadata import MetaDatum
  from .airflow_utils import TASK_ID_XCOM_KEY, FOREACH_CARDINALITY_XCOM_KEY
label_desc: Use image node_id 1 for calling a global function with example usage: safe_mkdir(dir) without return types