Refactor logging in graph_derive_edges.py and ingestion_chunk_payload.py: Remove redundant logging import and ensure consistent logger initialization for improved debugging capabilities. This change enhances traceability in edge processing and chunk ingestion.
This commit is contained in:
1 parent
c91910ee9f
commit
f8506c0bb2
2 files changed
+4
-1
No files matched your search
@@ -28,6 +28,7 @@ VERSION: 4.3.1 (WP-24c: Präzisions-Priorität)
|
||||
STATUS: Active
|
||||
"""
|
||||
import re
|
||||
import logging
|
||||
from typing import List, Optional, Dict, Tuple, Set
|
||||
from .graph_utils import (
|
||||
_get, _edge, _mk_edge_id, _dedupe_seq, parse_link_target,
|
||||
@@ -320,7 +321,6 @@ def build_edges_for_note(
|
||||
# BEVOR der globale Markdown-Scan oder der Loop über die Chunks beginnt
|
||||
# Dies stellt sicher, dass bereits geerntete Callouts nicht dupliziert werden
|
||||
# WP-24c v4.3.0: Debug-Logik für Audit des Datentransfers
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
for ch in chunks:
|
||||
|
||||
@@ -8,10 +8,13 @@ STATUS: Active
|
||||
"""
|
||||
from __future__ import annotations
|
||||
from typing import Any, Dict, List, Optional
|
||||
import logging
|
||||
|
||||
# ENTSCHEIDENDER FIX: Import der neutralen Registry-Logik zur Vermeidung von Circular Imports
|
||||
from app.core.registry import load_type_registry
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Resolution Helpers (Audited)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user