Setup to handle book objects from sqlalchemy.

This commit is contained in:
th3root
2023-03-11 19:00:17 -05:00
parent 1e975405c8
commit b9b34831b6
10 changed files with 118 additions and 23 deletions

2
pyShelf.py vendored
View File

@@ -9,7 +9,6 @@ from src.backend.lib.storage import Storage
from src.backend.pyShelf_MakeCollections import MakeCollections
from src.backend.pyShelf_ScanLibrary import execute_scan
from src.frontend.lib.FastAPIServer import FastAPIServer
from src.frontend.lib.objects import JSInterface
# import websockets
@@ -30,7 +29,6 @@ def run_import():
async def main():
"""Program entrypoint."""
JSInterface(config=config).install()
Storage(config=config).create_tables()
_import_thread = Thread(target=run_import)
_import_thread.start()