--- id: 7c146559-79b7-4254-84cf-89aa1bc6750a type: solution title: "Fix auto-draft nested API parsing" tags: [major-domo, python, fix, draft, pydantic] importance: 0.7 confidence: 0.8 created: "2025-12-11T18:53:18.129453+00:00" updated: "2026-02-20T04:32:13.382771+00:00" relations: - target: 83dbebd0-b523-4e4d-9351-b1e4fd81999e type: BUILDS_ON direction: incoming strength: 0.85 edge_id: cd4dce12-c777-4c55-8660-f1992ff0f243 --- DraftList.from_api_data() now properly calls Player.from_api_data() for nested player objects, ensuring player.team_id is extracted from the nested team object. Also fixed validate_cap_space() unpacking to accept all 3 return values. Bug: Auto-draft was marking all players as not available because player.team_id was None (None != 547 always True).