Skip to content

Commit

Permalink
feat: cleanup option added
Browse files Browse the repository at this point in the history
  • Loading branch information
wey-gu committed Jan 11, 2024
1 parent ffc7a4f commit 0e60bc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nebulagraph_lite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ def __init__(
port: int = DEFAULT_GRAPHD_PORT,
base_path: str = BASE_PATH,
debug=False,
clean_up=False,
):
if clean_up:
self.clean_up_base_path()

self.host = host
self.port = port
self.base_path = base_path
Expand Down

0 comments on commit 0e60bc4

Please sign in to comment.