original_docstring:  Creates a session with rexster and creates the graph object 
docstring: Creates a session with rexster and creates the graph object
docstring_tokens: Creates a session with rexster and creates the graph object
code: def _open_session(self):
          """ Creates a session with rexster and creates the graph object """
          self._conn.send_message(
              messages.SessionRequest(
                  username=self.username,
                  password=self.password,
                  graph_name=self.graph_name
              )
          )
          response = self._conn.get_response()
          if isinstance(response, ErrorResponse):
              response.raise_exception()
          self._session_key = response.session_key
code_tokens: def _open_session ( self ) : self . _conn . send_message ( messages . SessionRequest ( username = self . username , password = self . password , graph_name = self . graph_name ) ) response = self . _conn . get_response ( ) if isinstance ( response , ErrorResponse ) : response . raise_exception ( ) self . _session_key = response . session_key
short_docstring: Creates a session with rexster and creates the graph object
short_docstring_tokens: Creates a session with rexster and creates the graph object
comment: """ Creates a session with rexster and creates the graph object """