code: def safe_unlink(path):
      if FLAGS.dry_run:
          logging.warning("[DRY RUN] Would delete %r", path)
      else:
          logging.info("Deleting %r", path)
          os.unlink(path)
  
file_path: sonnet/sonnet/src/conformance/checkpoints/generate.py
imports: import os
  import re
  from absl import app
  from absl import flags
  from absl import logging
  from sonnet.src.conformance import goldens
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: safe_unlink(path) without return types