From e2f15324d78b652fced61e48eb8832ed9ca3c1ae Mon Sep 17 00:00:00 2001 From: Lars Date: Tue, 7 Oct 2025 11:02:52 +0200 Subject: [PATCH] =?UTF-8?q?app/models/init.py=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/init.py | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app/models/init.py diff --git a/app/models/init.py b/app/models/init.py new file mode 100644 index 0000000..778290f --- /dev/null +++ b/app/models/init.py @@ -0,0 +1,38 @@ +""" +app/models/__init__.py — Package-Init für mindnet DTOs + +Zweck: + Stellt zentrale API-/DTO-Modelle als Import-Fassade bereit. +Kompatibilität: + Python 3.12+, Pydantic 2.x +Version: + 0.1.0 (Erstanlage für WP-04) +Stand: + 2025-10-07 +Bezug: + Handbuch / Knowledge Design (WP-03/04) +Nutzung: + from app.models import QueryRequest, QueryResponse, GraphResponse +Änderungsverlauf: + 0.1.0 (2025-10-07) – Erstanlage. +""" + +from .dto import ( + EdgeKind, + NodeDTO, + EdgeDTO, + QueryRequest, + QueryHit, + QueryResponse, + GraphResponse, +) + +__all__ = [ + "EdgeKind", + "NodeDTO", + "EdgeDTO", + "QueryRequest", + "QueryHit", + "QueryResponse", + "GraphResponse", +]