feat: /api/v2/analiza/* endpoints - sport analytics backend
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv('/opt/rinet-gpu/.env.master')
|
||||
# auto-added by patch_scrapers_with_dotenv.sh
|
||||
# ==============================================================================
|
||||
# notif_router.py — Notification center API for /app#notif
|
||||
# Author : Damir Radulić — dradulic@outlook.com / damir@rinet.one
|
||||
@@ -14,6 +17,7 @@
|
||||
# DELETE /api/v2/notif/{id}
|
||||
# ==============================================================================
|
||||
from __future__ import annotations
|
||||
import os
|
||||
|
||||
from typing import Optional, List, Dict, Any
|
||||
from fastapi import APIRouter, HTTPException, Query, Header
|
||||
@@ -27,7 +31,7 @@ DB = dict(
|
||||
port=6432,
|
||||
dbname="rinet_v3",
|
||||
user="rinet",
|
||||
password="R1net2026!SecureDB#v7",
|
||||
password=os.environ["DB_PASSWORD"],
|
||||
)
|
||||
|
||||
router = APIRouter(prefix="/api/v2/notif", tags=["pgz_sport_notif"])
|
||||
|
||||
Reference in New Issue
Block a user