code: def deployment_dir(node_name: str) -> str:
      return f"{hagrid_cache_dir()}/deployments/{node_name}"
  
imports: import hashlib
  import os
  import shutil
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import Tuple
  from typing import Union
  from urllib.parse import urlparse
  from jinja2 import Environment
  from jinja2 import FileSystemLoader
  from jinja2 import Template
  import requests
  from rich.progress import track
  import yaml
  from .cache import DEFAULT_REPO
  from .cache import STABLE_BRANCH
  from .lib import hagrid_cache_dir
  from .lib import manifest_template_path
  from .lib import repo_src_path
  from .mode import EDITABLE_MODE
label_desc: Use image node_id 11 for calling a global function with example usage: deployment_dir(node_name) and returns: hagrid_cache_dir, str, node_name