Added to begin frontend data hooks.

This commit is contained in:
th3r00t
2022-11-28 23:10:44 -05:00
parent dd39655f8c
commit 0d55a4e9f1

11
src/frontend/lib/DataHooks.py vendored Normal file
View File

@@ -0,0 +1,11 @@
"""pyShelf's frontend database hooks."""
from ....src.backend.lib.storage import Storage
class BookInterface:
"""Access point for book database."""
def __init(self, config):
"""Initialize class variables."""
self.config = config
self.db = Storage(self.config)