def session(self, **config): """ :param config: The values that can be specified are found in :class: `neo4j.SessionConfig` :return: :rtype: :class: `neo4j.Session` """ from neo4j.work.simple import Session session_config = SessionConfig(self._default_workspace_config, config) SessionConfig.consume(config) # Consume the config return Session(self._pool, session_config)
def session(self, **config): from neo4j.work.simple import Session, SessionConfig session_config = SessionConfig(self._default_workspace_config, SessionConfig.consume(config)) return Session(self._pool, session_config)
def session(self, **config): session_config = SessionConfig(self._default_workspace_config, config) SessionConfig.consume(config) # Consume the config return Session(self._pool, session_config)