mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added to begin frontend data hooks.
This commit is contained in:
11
src/frontend/lib/DataHooks.py
vendored
Normal file
11
src/frontend/lib/DataHooks.py
vendored
Normal 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)
|
||||
Reference in New Issue
Block a user