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

Remove the conditional usage of slots #15

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Remove the conditional usage of slots #15

merged 1 commit into from
Apr 19, 2024

Conversation

maxmynter
Copy link
Collaborator

As we just discussed, this PR depricates the usage of slots for dataclasses conditional on the Python version in favour of vanilla frozen datclasses and less complex code.

for the config dataclasses. Slots are only introduced in Python
3.10, while oldest supported Python is 3.9. Therefore we introduced
logic to handle it's usage conditionally.

This commit depricates those changes as we deemed it to complex
for the use as we will only have a few instances of the config
dataclasses per runtime.
@maxmynter maxmynter merged commit aa7e91d into main Apr 19, 2024
2 checks passed
@maxmynter maxmynter self-assigned this Apr 23, 2024
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.

2 participants