(self)
return config_dict
Get config for supplied data_type.

        Returns:
            Dictionary with configuration parameters.
Get config for supplied data_type.
Get config for supplied data_type .
def _get_config(self):
        """Get config for supplied data_type.

        Returns:
            Dictionary with configuration parameters.
        """
        config_dict = self.CONFIG_REGISTRY.get(self._data_type)

        # If there is no config for this data_type, use default config and set
        # the query based on the data_type.
        if not config_dict:
            config_dict = self.DEFAULT_CONFIG
            config_dict['query'] = 'data_type:"{0}"'.format(self._data_type)

        config_dict['index_name'] = self._index_name
        config_dict['data_type'] = self._data_type
        return config_dict
def _get_config ( self ) : config_dict = self . CONFIG_REGISTRY . get ( self . _data_type ) # If there is no config for this data_type, use default config and set # the query based on the data_type. if not config_dict : config_dict = self . DEFAULT_CONFIG config_dict [ 'query' ] = 'data_type:"{0}"' . format ( self . _data_type ) config_dict [ 'index_name' ] = self . _index_name config_dict [ 'data_type' ] = self . _data_type return config_dict