class_docstr: Base class for a dataset builder method decorator.
docstr: Fills kwargs for the corresponding logger method.
  
  Args:
    logger_method: logger method with the same name as this class.
    metadata: call metadata.
    instance: the object to which the wrapped function was bound when it was
      called.
    args: args captured during the function call.
    kwargs: kwargs captured during the function call.
  
  Returns:
    partial logger method with filled kwargs.
docstr_tok: ["Fills","kwargs","for","the","corresponding","logger","method",".","Args",":","logger_method",":","logger","method","with","the","same","name","as","this","class",".","metadata",":","call","metadata",".","instance",":","the","object","to","which","the","wrapped","function","was","bound","when","it","was","called",".","args",":","args","captured","during","the","function","call",".","kwargs",":","kwargs","captured","during","the","function","call",".","Returns",":","partial","logger","method","with","filled","kwargs","."]
code: def _fill_logger_method_kwargs(
      self,
      logger_method: _LoggerMethod,
      metadata: call_metadata.CallMetadata,
      instance: Any,
      args: Any,
      kwargs: Any,
  ) -> _LoggerMethod:
      """Fills kwargs for the corresponding logger method.
  
      Args:
        logger_method: logger method with the same name as this class.
        metadata: call metadata.
        instance: the object to which the wrapped function was bound when it was
          called.
        args: args captured during the function call.
        kwargs: kwargs captured during the function call.
  
      Returns:
        partial logger method with filled kwargs.
      """
      del kwargs
      if self.IS_PROPERTY:
          dsbuilder = args[
              0
          ]  # Because property decorator applied first.
      else:
          dsbuilder = instance
      name, config_name, version, data_path = self._get_info(dsbuilder)
  
      return functools.partial(
          logger_method,
          metadata=metadata,
          name=name,
          config_name=config_name,
          version=version,
          data_path=data_path,
      )
  
imports: import abc
  import atexit
  import collections
  import functools
  import threading
  from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar
  from absl import flags
  from tensorflow_datasets.core.logging import base_logger
  from tensorflow_datasets.core.logging import call_metadata
  from tensorflow_datasets.core.logging import logging_logger
  import wrapt
label_desc: Use image node_id 2 for calling the _DsbuilderMethodDecorator obj's underlying member method code with example usage: obj._fill_logger_method_kwargs(logger_method, metadata, instance, args, kwargs) and returns: functools