Models¶
The models module contains the domain layer data structures — entities, DTOs, errors, and types. This layer holds no
business logic or I/O; it defines only the shapes of data flowing through the application.
Submodules¶
| Submodule | Description |
|---|---|
| DTOs | Pydantic data transfer objects for API input/output |
| Entities | SQLAlchemy ORM entity base classes |
| Errors | Custom exception hierarchy |
| Types | Enumerations and shared type definitions |
Source Code¶
📁 Location: archipy/models/
API Stability¶
| Component | Status | Notes |
|---|---|---|
| DTOs | 🟢 Stable | Production-ready |
| Entities | 🟢 Stable | Production-ready |
| Errors | 🟢 Stable | Production-ready |
| Types | 🟢 Stable | Production-ready |