def __init__(self, file_item, *, use_session=True, persist=True):
if file_item is None or not isinstance(file_item, File) or file_item.mime_type != EXCEL_XLSX_MIME_TYPE:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if isinstance(file_item.protocol, MSOffice365Protocol):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>main_resource = '<STR_LIT>'.format(file_item.main_resource,<EOL>file_item._endpoints.get('<STR_LIT>').format(id=file_item.object_id))<EOL>super().__init__(protocol=file_item.protocol, main_resource=main_resource)<EOL>persist = persist if use_session is True else True<EOL>self.session = WorkbookSession(parent=file_item, persist=persist, main_resource=main_resource)<EOL>if use_session:<EOL><INDENT>self.session.create_session()<EOL><DEDENT>self.name = file_item.name<EOL>
Create a workbook representation

        :param File file_item: the Drive File you want to interact with
        :param Bool use_session: Whether or not to use a session to be more efficient
        :param Bool persist: Whether or not to persist this info