class_docstr: Default metadata provider for
  :class:`~ray.data.datasource.file_based_datasource.FileBasedDatasource`
  implementations that reuse the base `prepare_read` method.
  
  Calculates block size in bytes as the sum of its constituent file sizes,
  and assumes a fixed number of rows per file.
code: def expand_paths(
      self,
      paths: List[str],
      filesystem: "pyarrow.fs.FileSystem",
      partitioning: Optional[Partitioning] = None,
      ignore_missing_paths: bool = False,
  ) -> Iterator[Tuple[str, int]]:
      yield from _expand_paths(
          paths, filesystem, partitioning, 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 2 for calling the DefaultFileMetadataProvider obj's underlying member method code with example usage: obj.expand_paths(paths, filesystem, partitioning, ignore_missing_paths) without return types