A custom python dataclass is interacting with a function in a strange way and outputting a TypeError: ‘Message’ object is not callable
I have two files:
Is it possible to have an inline-definition of a dataclass in Python?
I want to define a nested dict and make use of Dataclass’s feature for dot-notation – mainly because my type checker then suggests the fields. This is the data structure I aim for: