Skip to content

Commit

Permalink
test: Add read write create permission to sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
dexters1 committed Jan 9, 2025
1 parent ae45ee1 commit 2b16d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def create_relational_engine(
db_provider: str,
):
if db_provider == "sqlite":
connection_string = f"sqlite+aiosqlite:///{db_path}/{db_name}"
connection_string = f"sqlite+aiosqlite:///{db_path}/{db_name}?mode=rwc"

if db_provider == "postgres":
connection_string = (
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gunicorn = "^20.1.0"
sqlalchemy = "2.0.36"
instructor = "1.7.2"
networkx = "^3.2.1"
aiosqlite = "0.17.0"
aiosqlite = "^0.20.0"
pandas = "2.2.3"
filetype = "^1.2.0"
nltk = "^3.8.1"
Expand Down

0 comments on commit 2b16d00

Please sign in to comment.