code: def dirname(file: str) -> str:
      r"""
      Returns the base directory name of `file`
  
      """
  
      return os.path.dirname(file)
  
file_path: caer/caer/path/paths.py
imports: import os
  from time import time
  from ..annotations import List, Union, Optional, Tuple
label_desc: Use image node_id 16 for calling a global function with example usage: dirname(file) and returns: os