def add_setting(self, name, value):
assert isinstance(name, string_types), '<STR_LIT>'<EOL>if value is None:<EOL><INDENT>self.settings.pop(name, None)<EOL><DEDENT>else:<EOL><INDENT>self.settings[name] = str(value)<EOL><DEDENT>
Adds a database setting that will be sent with every request.
For example, `db.add_setting("max_execution_time", 10)` will
limit query execution time to 10 seconds.
The name must be string, and the value is converted to string in case
it isn't. To remove a setting, pass `None` as the value.