code: def get_lines_of_source_code(allowlist=None):
      allowlist = allowlist or []
      source_dir = os.path.join(BASE_DIR, "tensorflow_addons")
      for path in glob.glob(source_dir + "/**/*.py", recursive=True):
          if in_allowlist(path, allowlist):
              continue
          with open(path) as f:
              for line_idx, line in enumerate(f):
                  yield path, line_idx, line
  
file_path: addons/tools/testing/source_code_test.py
imports: import glob
  import os
  from typedapi import ensure_api_is_typed
  import importlib
  import tensorflow_addons
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: get_lines_of_source_code(allowlist) without return types