code: def _get_file_infos_serial(
      paths: List[str],
      filesystem: "pyarrow.fs.FileSystem",
      ignore_missing_paths: bool = False,
  ) -> Iterator[Tuple[str, int]]:
      for path in paths:
          yield from _get_file_infos(
              path, filesystem, ignore_missing_paths
          )
  
imports: import itertools
  import logging
  import os
  import pathlib
  import re
  from typing import TYPE_CHECKING, Any, Callable, Iterator, List, Optional, Tuple, TypeVar, Union
  import numpy
  from ray.data._internal.progress_bar import ProgressBar
  from ray.data._internal.remote_fn import cached_remote_fn
  from ray.data.block import BlockMetadata
  from ray.data.datasource.partitioning import Partitioning
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 3 for calling a global function with example usage: _get_file_infos_serial(paths, filesystem, ignore_missing_paths) without return types