Changeset e75910d in flexograder for builder/exam_elements.py


Ignore:
Timestamp:
11/22/25 17:46:21 (4 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
fake-data, main, master
Children:
858a4dc
Parents:
0792ddd
Message:

all tests green, new json format and domain handling added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder/exam_elements.py

    r0792ddd re75910d  
    107107
    108108        # NOTE: cls(...) will call the correct subclass constructor
    109         obj = cls.with_domain_id(domain_id=flexo_id.domain_id,
     109        obj = cls(
    110110            text=data.get("text", ""),
    111111            topic=data.get("topic", ""),
    112112            flexo_id=flexo_id,
     113            _in_factory=True
    113114        )
    114115
Note: See TracChangeset for help on using the changeset viewer.