Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend, model: remove calls to trivial super().__init__() methods #261

Merged
merged 1 commit into from
May 10, 2024

Conversation

jkhsjdhjs
Copy link
Contributor

These are unsafe, according to mypy:

error: Call to abstract method "__init__" of "DataSpecificationContent" with trivial body via super() is unsafe  [safe-super]

These are unsafe, according to mypy:
error: Call to abstract method "__init__" of "DataSpecificationContent" with trivial body via super() is unsafe  [safe-super]
@Frosty2500
Copy link
Contributor

LGTM

@s-heppner s-heppner merged commit ecf4c13 into eclipse-basyx:main May 10, 2024
8 checks passed
@s-heppner s-heppner deleted the fix/mypy_errors branch May 10, 2024 11:36
s-heppner pushed a commit that referenced this pull request May 10, 2024
…methods (#262)

These are unsafe, according to mypy:
```
error: Call to abstract method "__init__" of "DataSpecificationContent" with trivial body via super() is unsafe  [safe-super]
```

This is a backport of #261.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants