Refresh the current session id
(self)
| 90 | return True |
| 91 | |
| 92 | def refresh_session(self): |
| 93 | """ Refresh the current session id """ |
| 94 | |
| 95 | if self.session_id: |
| 96 | url = self.build_url(self._endpoints.get('refresh_session')) |
| 97 | response = self.con.post(url, headers={'workbook-session-id': self.session_id}) |
| 98 | return bool(response) |
| 99 | return False |
| 100 | |
| 101 | def close_session(self): |
| 102 | """ Close the current session """ |