Form John: This isn't possible using dataclasses as far as I know – you always have to create a new state class. What someone could do is implement the same logic but using a UserDict – they would have to work out how to translate what we've done for data classes so that it works on a dictionary, but that would be totally doable.
Form John: This isn't possible using dataclasses as far as I know – you always have to create a new state class. What someone could do is implement the same logic but using a UserDict – they would have to work out how to translate what we've done for data classes so that it works on a dictionary, but that would be totally doable.