The unique identifier is not unique at all. Something with the @dataclass statement makes it that the base class is actually intialized only once and therefore all properties created in a loop (during same run) will have the same id.
A solution is to move the id setting to a post_init of the house. I dont know if that is the best solution because I dont completely understand why it does not work now.
The unique identifier is not unique at all. Something with the @dataclass statement makes it that the base class is actually intialized only once and therefore all properties created in a loop (during same run) will have the same id.