code: def _set_metadata_task_size(metadata_task_size, fs):
      # Set metadata_task_size using the config file
      # if the kwarg value was not specified
      if metadata_task_size is None:
          # If a default value is not specified in the config file,
          # otherwise we use "0"
          config_str = "dataframe.parquet.metadata-task-size-" + (
              "local" if _is_local_fs(fs) else "remote"
          )
          return config.get(config_str, 0)
  
      return metadata_task_size
  
imports: from __future__ import annotations
  import re
  import warnings
  import numpy
  import pandas
  from fsspec.core import expand_paths_if_needed, get_fs_token_paths, stringify_path
  from fsspec.spec import AbstractFileSystem
  from dask import config
  from dask.dataframe.io.utils import _is_local_fs
  from dask.utils import natural_sort_key, parse_bytes
label_desc: Use image node_id 8 for calling a global function with example usage: _set_metadata_task_size(metadata_task_size, fs) and returns: metadata_task_size, config