Skip to content

Commit

Permalink
Merge pull request #11 from iterative/view-connect
Browse files Browse the repository at this point in the history
sqlite: view: reuse connection
  • Loading branch information
efiop authored Mar 10, 2023
2 parents 7f99053 + a00db2d commit 99ee929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sqltrie/sqlite/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def view( # type: ignore

trie = SQLiteTrie()
trie._path = self._path # pylint: disable=protected-access
trie._local = self._local # pylint: disable=protected-access
trie._root_key = key # pylint: disable=protected-access
trie._root_id = nid # pylint: disable=protected-access
return trie
Expand Down

0 comments on commit 99ee929

Please sign in to comment.