code: def get_session(self, session_id: int) -> Optional[Session]:
          
          try:
              data = self._client.get(f"/sessions/{session_id}")
          except requests.HTTPError as e:
              if e.response.status_code == 404:
                  return None
              else:
                  raise
          return Session.from_json(data)
docs: Get information about a session.
  
          :param session_id: The ID of the session.