def _write_session(self):
base_name = "<STR_LIT>" % self._product_accronym<EOL>filename = "<STR_LIT>" % (self._class_prefix, base_name)<EOL>override_content = self._extract_override_content(base_name)<EOL>self.write(destination=self.output_directory,<EOL>filename=filename,<EOL>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>name=self._name,<EOL>api_prefix=self.api_prefix,<EOL>override_content=override_content,<EOL>header=self.header_content,<EOL>version_string=self._api_version_string,<EOL>package_name=self._package_name)<EOL>
Write SDK session file

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