from app import login from app.models.game import Game from app.models.game_player import GamePlayer from app.models.game_state import GameState from app.models.location import Location, LocationEncoder from app.models.notification_player import NotificationPlayer from app.models.objective import Objective, ObjectiveMinimalEncoder from app.models.player_caught_player import PlayerCaughtPlayer from app.models.player_found_objective import PlayerFoundObjective from app.models.role import Role from app.models.user import User @login.user_loader def load_user(id): return User.query.get(int(id))