code: def list_all_files(directory: str) -> List[str]:
      return [f for _, _, files in os.walk(directory) for f in files]
  
imports: import importlib
  import os
  import pathlib
  import re
  import unittest.mock
  from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Type
  import numpy
  import pytest
  from mypy_extensions import DefaultNamedArg
  import determined
  from determined import core, gpu, workload
  from determined.common import util
label_desc: Use image node_id 15 for calling a global function with example usage: list_all_files(directory) and returns: unknown