Skip to content

Commit

Permalink
add missing store creation statement
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Apr 9, 2024
1 parent a8babbb commit 60bacf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyscal_rdf/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __init__(self, graph_file=None,
if store_file is None:
raise ValueError("store file is needed if store is not memory")

self.graph = Graph(store="SQLAlchemy", identifier=identifier)
uri = Literal(f"sqlite:///{store_file}")
self.graph.open(uri, create=True)
else:
Expand Down

0 comments on commit 60bacf4

Please sign in to comment.