From 0ac7e68bbd1e6b79a905c61c881b331ab27b87fe Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Fri, 2 Feb 2024 18:22:17 -0600 Subject: [PATCH] bug fixes: sqlite writer with sqlalchemy --- transport/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/disk.py b/transport/disk.py index 94c903c..f5f8a97 100644 --- a/transport/disk.py +++ b/transport/disk.py @@ -177,7 +177,7 @@ class SQLiteWriter(SQLite,DiskWriter) : super().__init__(**args) self.table = args['table'] if 'table' in args else None path = self.path - self._engine = create_engine(f'sqlite://{path}') + self._engine = create_engine(f'sqlite:///{path}') # self.conn = sqlite3.connect(self.path,isolation_level="IMMEDIATE") # self.conn.row_factory = sqlite3.Row