Initial WP4d

This commit is contained in:
Lars committed 2025-12-29 07:58:20 +01:00
1 parent ea9a54421a
commit feeb7c2d92
3 files changed
+77 -21

No files matched your search

+3 -2
View File
@@ -1,10 +1,10 @@
"""
FILE: app/models/dto.py
DESCRIPTION: Pydantic-Modelle (DTOs) für Request/Response Bodies. Definiert das API-Schema.
VERSION: 0.6.6 (WP-22 Debug & Stability Update)
VERSION: 0.6.7 (WP-Fix: Target Section Support)
STATUS: Active
DEPENDENCIES: pydantic, typing, uuid
LAST_ANALYSIS: 2025-12-18
LAST_ANALYSIS: 2025-12-29
"""
from __future__ import annotations
@@ -43,6 +43,7 @@ class EdgeDTO(BaseModel):
direction: Literal["out", "in", "undirected"] = "out"
provenance: Optional[Literal["explicit", "rule", "smart", "structure"]] = "explicit"
confidence: float = 1.0
target_section: Optional[str] = None # Neu: Speichert den Anker (z.B. #Abschnitt)
# --- Request Models ---