Fix most mypy attr-defined
& pyright reportAttributeAccessIssue
by explicitly defining attributes on classes
#5098
Loading