def commit_config(self, message="<STR_LIT>"):
commit_args = {"<STR_LIT>": message} if message else {}<EOL>self.device.cu.commit(ignore_warning=self.ignore_warning, **commit_args)<EOL>if not self.lock_disable and not self.session_config_lock:<EOL><INDENT>self._unlock()<EOL><DEDENT>
Commit configuration.