hot fix: add type subscription

This commit is contained in:
Arxip222
2025-12-23 12:23:22 +03:00
parent 1f0a5e5159
commit b504bb26c8
7 changed files with 14 additions and 0 deletions
+2
View File
@@ -2,6 +2,8 @@
Админ-панель - упрощенная версия через API эндпоинты
В будущем можно интегрировать полноценную админ-панель
"""
from __future__ import annotations
from fastapi import APIRouter, HTTPException
from typing import List
from uuid import UUID
@@ -1,6 +1,8 @@
"""
API роутеры для работы с коллекциями
"""
from __future__ import annotations
from uuid import UUID
from fastapi import APIRouter, status
from fastapi.responses import JSONResponse
@@ -1,6 +1,8 @@
"""
API роутеры для работы с беседами
"""
from __future__ import annotations
from uuid import UUID
from fastapi import APIRouter, status
from fastapi.responses import JSONResponse
@@ -1,6 +1,8 @@
"""
API роутеры для работы с документами
"""
from __future__ import annotations
from uuid import UUID
from fastapi import APIRouter, status, UploadFile, File
from fastapi.responses import JSONResponse
@@ -1,6 +1,8 @@
"""
API роутеры для работы с сообщениями
"""
from __future__ import annotations
from uuid import UUID
from fastapi import APIRouter, status
from fastapi.responses import JSONResponse
+2
View File
@@ -1,6 +1,8 @@
"""
API для RAG: индексация документов и ответы на вопросы
"""
from __future__ import annotations
from fastapi import APIRouter, status
from dishka.integrations.fastapi import FromDishka
from src.presentation.schemas.rag_schemas import (
+2
View File
@@ -1,6 +1,8 @@
"""
API роутеры для работы с пользователями
"""
from __future__ import annotations
from uuid import UUID
from fastapi import APIRouter, status
from fastapi.responses import JSONResponse