UPDATE: final cleanup of backend code
This commit is contained in:
@@ -4,6 +4,7 @@ from typing import Optional
|
||||
from dotenv import load_dotenv
|
||||
from os import getenv
|
||||
from werkzeug.security import generate_password_hash
|
||||
|
||||
load_dotenv()
|
||||
|
||||
serializer = URLSafeTimedSerializer(getenv("AUTH_SECRET_KEY"))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
"""Description: This file contains the PathManager class which is responsible for managing the paths of the stream data."""
|
||||
|
||||
import os
|
||||
# Description: This file contains the PathManager class which is responsible for managing the paths of the stream data.
|
||||
|
||||
class PathManager():
|
||||
def __init__(self) -> None:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from database.database import Database
|
||||
from typing import Optional, List
|
||||
|
||||
|
||||
def get_user_preferred_category(user_id: int) -> Optional[int]:
|
||||
"""
|
||||
Queries user_preferences database to find users favourite streaming category and returns the category
|
||||
|
||||
Reference in New Issue
Block a user