mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-17 10:06:18 +00:00
model.py imported its exceptions from the package __init__, which itself
imports model -- a cycle that only resolved because __init__ happens to
import exceptions first. Import them from the exceptions submodule
directly, matching service.py, so reordering __init__ can never break
collection.
Also update the two module docstrings that still pointed readers at the
deleted app/infra/ layout and the old deps.py wiring: adapters live in
app/adapters/{context}/ and wiring happens in the composition root,
app/composition.py::build_domain_services.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
405 B
Python
12 lines
405 B
Python
"""Feedback persistence — ORM row only.
|
|
|
|
The legacy SQL repository was replaced by the hexagonal slice:
|
|
port `deerflow.domain.feedback.ports.FeedbackRepository`, adapter
|
|
`app.adapters.feedback.feedback_repository.SqlFeedbackRepository`. The ORM
|
|
row stays here beside the harness-owned engine/models/migrations.
|
|
"""
|
|
|
|
from deerflow.persistence.feedback.model import FeedbackRow
|
|
|
|
__all__ = ["FeedbackRow"]
|