

def update_settings(self, new_settings):
    '\n        Update the local settings. This will prepare and emit the appropriate\n        SETTINGS frame.\n\n        :param new_settings: A dictionary of {setting: new value}\n        '
    self.state_machine.process_input(ConnectionInputs.SEND_SETTINGS)
    self.local_settings.update(new_settings)
    s = SettingsFrame(0)
    s.settings = new_settings
    self._prepare_for_sending([s])

dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py H2Connection.update_settings/original