code: def _set_stage_dir(stage_dir):
      # Used when initing a new project with "wandb init"
      global __stage_dir__
      __stage_dir__ = stage_dir
  
file_path: wandb/wandb/old/core.py
imports: import os
  import sys
  import tempfile
  import time
  import click
  import wandb
  from wandb import env
label_desc: Use image node_id 2 for calling a global function with example usage: _set_stage_dir(stage_dir) without return types