Skip to content

Commit

Permalink
allow dburl none if engine provided
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dixon committed Nov 20, 2024
1 parent a8e2417 commit b2b416a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ell/stores/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
logger = logging.getLogger(__name__)

class SQLStore(ell.stores.store.Store):
def __init__(self, db_uri: str, blob_store: Optional[ell.stores.store.BlobStore] = None,
engine: Optional[Engine] = None, ):
def __init__(self, db_uri: str = None, blob_store: Optional[ell.stores.store.BlobStore] = None, engine: Optional[Engine] = None):
if engine is not None:
self.engine = engine
elif db_uri is None:
Expand Down

0 comments on commit b2b416a

Please sign in to comment.