Skip to content

Commit

Permalink
fix bug for self._session_pool (run-llama#7834)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieL-nlp authored Sep 26, 2023
1 parent d75dd0e commit 91f1649
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llama_index/graph_stores/nebulagraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing import Any, Dict, List, Optional

from tenacity import retry, stop_after_attempt, wait_random_exponential

from llama_index.graph_stores.types import GraphStore

QUOTE = '"'
Expand Down Expand Up @@ -140,7 +139,8 @@ def __init__(
self._space_name = space_name
self._session_pool_kwargs = session_pool_kwargs

if session_pool is None:
self._session_pool: Any = session_pool
if self._session_pool is None:
self.init_session_pool()

self._vid_type = self._get_vid_type()
Expand Down

0 comments on commit 91f1649

Please sign in to comment.