code: def get_all_requirements():
      import glob
  
      requirements_all = []
      reqs_http_all = []
      for req_name in ["requirements.txt"] + glob.glob(
          "reqs_optional/req*.txt"
      ):
          requirements1, reqs_http1 = get_requirements(req_name)
          requirements_all.extend(requirements1)
          reqs_http_all.extend(reqs_http1)
      return requirements_all, reqs_http_all
  
file_path: h2ogpt/tests/test_requirements.py
imports: import pkg_resources
  from pkg_resources import DistributionNotFound, VersionConflict
  from src.utils import remove
  from tests.utils import wrap_test_forked
  import requests
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: get_all_requirements() and returns: requirements_all,  reqs_http_all