def _write_session(self):
base_name = "<STR_LIT>" % self._product_accronym.lower()<EOL>filename = "<STR_LIT>" % (self._class_prefix.lower(), base_name)<EOL>override_content = self._extract_override_content(base_name)<EOL>self.write(destination=self.output_directory, filename=filename, template_name="<STR_LIT>",<EOL>version=self.api_version,<EOL>product_accronym=self._product_accronym,<EOL>class_prefix=self._class_prefix,<EOL>root_api=self.api_root,<EOL>api_prefix=self.api_prefix,<EOL>override_content=override_content,<EOL>header=self.header_content)<EOL>
Write SDK session file

            Args:
                version (str): the version of the server