original_docstring: Discover new items in a conf.d directory and add the new values.
  
      :param user_defined_config: ``dict``
      :param base_dir: ``str``
      
docstring: Discover new items in a conf.d directory and add the new values.
docstring_tokens: Discover new items in a conf . d directory and add the new values .
code: def _extra_config(user_defined_config, base_dir):
      """Discover new items in a conf.d directory and add the new values.
  
      :param user_defined_config: ``dict``
      :param base_dir: ``str``
      """
      for root_dir, _, files in os.walk(base_dir):
          for name in files:
              if name.endswith(('.yml', '.yaml')):
                  with open(os.path.join(root_dir, name), 'rb') as f:
                      _merge_dict(
                          user_defined_config,
                          yaml.safe_load(f.read()) or {}
                      )
code_tokens: def _extra_config ( user_defined_config , base_dir ) : for root_dir , _ , files in os . walk ( base_dir ) : for name in files : if name . endswith ( ( '.yml' , '.yaml' ) ) : with open ( os . path . join ( root_dir , name ) , 'rb' ) as f : _merge_dict ( user_defined_config , yaml . safe_load ( f . read ( ) ) or { } )
short_docstring: Discover new items in a conf.d directory and add the new values.
short_docstring_tokens: Discover new items in a conf . d directory and add the new values .
comment: """Discover new items in a conf.d directory and add the new values.
  
      :param user_defined_config: ``dict``
      :param base_dir: ``str``
      """