def _merge_options(options):
 defaults = __salt__['config.option']('solr.dih.import_options')
 if isinstance(options, dict):
  defaults.update(options)
 for (key, val) in six.iteritems(defaults):
  if isinstance(val, bool):
   defaults[key] = str(val).lower()
 return defaults

def _merge_options ( options ) : defaults = __salt__ [ 'config.option' ] ( 'solr.dih.import_options' ) if isinstance ( options , dict ) : defaults . update ( options ) for ( key , val ) in six . iteritems ( defaults ) : if isinstance ( val , bool ) : defaults [ key ] = str ( val ) . lower ( ) return defaults
private method updates the default import options from __opts__[solr .