def set_ext_param(self, ext_key, param_key, val):
if not self.extensions[ext_key]:<EOL><INDENT>self.extensions[ext_key] = defaultdict(lambda: None)<EOL><DEDENT>self.extensions[ext_key][param_key] = val<EOL>
Set the provided parameter in a set of extension parameters.