code: def get_ignores_str(ignores_dict):
      """Get a list of rule ignores for deptry"""
  
      return ",".join(
          [f"{k}={'|'.join(v)}" for k, v in ignores_dict.items()]
      )
  
file_path: mindsdb/tests/scripts/check_requirements.py
imports: import glob
  import re
  import sys
  import subprocess
  import os
  import json
label_desc: Use image node_id 3 for calling a global function with example usage: get_ignores_str(ignores_dict) and returns: str