I am using data classes with inheritance following the ideas of this SO post: https://stackoverflow.com/questions/51575931/class-inheritance-in-python-3-7-dataclasses (see top answer).
I have 5 classes. One abstract class (abc.ABC), three parent data classes, and one child class.
The editor believes the child class has no arguments in its __init__ and gives me a warning in the code. However, the Python console will happily show that the child class does have arguments in its constructor with the CMD+P command (on Mac).
The class hierarchy works like this:
data: bytes = None
class _ChildBase(_AbstractFields, _ChildFields):