Get list of all appropriate settings and their default values.
347635
def list_settings(self):
        
        result = super().list_settings()
        result.append((self.SETTING_TEXT_HIGHLIGHT, None))
        return result
355931
def _defaults():
    
    d = {}
    d['url'] = os.environ.get('BUGZSCOUT_URL')
    d['user'] = os.environ.get('BUGZSCOUT_USER')
    d['project'] = os.environ.get('BUGZSCOUT_PROJECT')
    d['area'] = os.environ.get('BUGZSCOUT_AREA')
    return d
184892
def get_settings(self, service_id, version_number):
		""""""
		content = self._fetch("/service/%s/version/%d/settings" % (service_id, version_number))
		return FastlySettings(self, content)
412060
def all(self):
        
        return list(v for id, v in sorted(self._settings.items()))
492593
def defaults(self):
        
        defaults = ConfigParser.defaults(self).copy()
        for key, val in iteritems(defaults):
            defaults[key] = self.get('DEFAULT', key) or val
        return defaults
821970
def get_params_and_defaults(param_list, db):
    
    return [[p, d] for p, d in db.get_all_values_of_all_params().items()]
222245
def defaults(self):
        """"""
        return {k: v.default for k, v in self.options().items()}
1360646
def list_config_files() -> List[Text]:
    

    return [
        os.path.join(os.path.dirname(__file__), 'default_settings.py'),
        os.getenv(ENVIRONMENT_VARIABLE, ''),
    ]
333912
private function getListSettings()
    {
        $settingsStorage = $this->getSettingsStorage();
        if (!$settingsStorage->exists(CspHeaderSettingsInterface::CSP_HEADER_LIST)) {
            return [];
        }

        return json_decode($settingsStorage->get(CspHeaderSettingsInterface::CSP_HEADER_LIST));
    }
942938
def get_default_values(self):
        
        if not self.process_default_values:
            # Old, pre-Optik 1.5 behaviour.
            return optparse.Values(self.defaults)

        defaults = self.update_defaults(self.defaults.copy())  # ours
        for option in self._get_all_options():
            default = defaults.get(option.dest)
            if isinstance(default, basestring):
                opt_str = option.get_opt_string()
                defaults[option.dest] = option.check_value(opt_str, default)
        return optparse.Values(defaults)
123361
def get_settings():
    '''
    
    '''
    settings = {}
    for config_file in config_files():
        config_contents = load_config(config_file)
        if config_contents is not None:
            settings = deep_merge(settings, config_contents)
    return settings
1299135
public static function getAllSettings()
    {
        $settings = Settings::all();

        $settingsList = [];
        foreach($settings as $setting){
            $settingsList[$setting->settingsKey] = $setting->value;
        }

        return $settingsList;
    }
662621
def __get_settings(self):
        

        return {"case_sensitive": self.Case_Sensitive_checkBox.isChecked(),
                "whole_word": self.Whole_Word_checkBox.isChecked(),
                "regular_expressions": self.Regular_Expressions_checkBox.isChecked()}
715273
def settings(self):
        
        settings_file = os.path.join(os.getcwd(), 'settings', self.module.lower() + '.ini')

        # Loads the settings file once.
        if (not hasattr(self, '_settings') or self._settings is None) and os.path.isfile(settings_file):
            config = ConfigParser.ConfigParser()
            config.read(settings_file)

            settings = dict(config._sections)
            for key in settings:
                settings[key] = dict(config.defaults(), **settings[key])
                settings[key].pop('__name__', None)

            self._settings = SettingsDict(self, settings.get(self.name, {}))

        elif not hasattr(self, '_settings'):
            self._settings = SettingsDict(self, {})

        return self._settings
1332108
def get_values():
    

    # First load a mapping between config name and default value
    default_initial = ((name, options[0])
                       for name, options in settings.CONFIG.items())
    # Then update the mapping with actually values from the backend
    initial = dict(default_initial, **dict(config._backend.mget(settings.CONFIG)))

    return initial
1052503
def get_layout_settings(self):
        """"""
        splitsettings = self.editorwidget.editorsplitter.get_layout_settings()
        return dict(size=(self.window_size.width(), self.window_size.height()),
                    pos=(self.pos().x(), self.pos().y()),
                    is_maximized=self.isMaximized(),
                    is_fullscreen=self.isFullScreen(),
                    hexstate=qbytearray_to_str(self.saveState()),
                    splitsettings=splitsettings)
745236
def get_default_config(self):
        
        config = super(NetstatCollector, self).get_default_config()
        config.update({
            'path':         'netstat',
        })
        return config