I\'m trying to write some python code in a way that I can easily trace back which part of the state(dataclass or dict) has been used in a function.
The first method I att