Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model.KeyTypes: Ignore mypy errors for abstract classes to be compliant
Mypy appears to not like abstract classes in a context where only concrete classes should be given: ``` Only concrete class can be given where "tuple[type[Referable], KeyTypes]" is expected ``` However, the spec demands the three abstract classes - `EventElement` - `DataElement` - `SubmodelElement` to appear inside the `model.KeyTypes` Enum. Therefore, we ignore these errors via `# type: ignore`.
- Loading branch information