fix: Use correct field name 'classification' instead of 'atomic_type'
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled

Component model uses 'classification' field for AtomicType enum

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-12 06:48:14 -03:00
parent 767ab52548
commit b3c0c0589e

View File

@@ -128,7 +128,7 @@ async def main():
"components": [
{
"name": c.name,
"atomic_type": c.atomic_type.value if hasattr(c.atomic_type, 'value') else str(c.atomic_type),
"classification": c.classification.value if hasattr(c.classification, 'value') else str(c.classification),
"variant_count": len(c.variants) if c.variants else 0,
}
for c in components