try few things
This commit is contained in:
parent
710b27993a
commit
d5827b3fff
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@ import duckdb
|
|||
|
||||
class DuckDBAdapter():
|
||||
def __init__(self, db_path: str, db_name: str):
|
||||
if db_path is None:
|
||||
db_path = "/Users/runner/work/cognee/cognee/.cognee_system"
|
||||
if db_name is None:
|
||||
db_name = "cognee.db"
|
||||
|
||||
db_location = db_path + "/" + db_name
|
||||
|
||||
self.get_connection = lambda: duckdb.connect(db_location)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue