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

[issue-290] refactor data model #298

Merged
merged 6 commits into from
Nov 22, 2022

Conversation

nicoweidner
Copy link
Collaborator

@nicoweidner nicoweidner commented Nov 16, 2022

Fixes #290

Rewritten data model, hopefully clearer in particular with regards to types. It's fairly minimal so far, we can add more utility later (e.g. more magic functions)

Note: As soon as the Python min version is officially 3.7, we can check whether dataclasses can reduce some of the annoying duplication involved in writing constructors, for example.

@nicoweidner nicoweidner force-pushed the issue-290-refactor-data-model branch 2 times, most recently from e26db6f to fcac984 Compare November 16, 2022 16:31
Copy link
Collaborator

@armintaenzertng armintaenzertng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overall structure looks promising, but there are a few remarks from my side.
As this will be the basis of all following work, I tried to be quite strict. ;)

@nicoweidner nicoweidner force-pushed the issue-290-refactor-data-model branch 4 times, most recently from e0a0014 to b9c3456 Compare November 21, 2022 15:19
Copy link
Collaborator

@armintaenzertng armintaenzertng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems to be it!
Don't forget to squash! :)

@nicoweidner nicoweidner force-pushed the issue-290-refactor-data-model branch from 3022dbe to 2a3a80c Compare November 22, 2022 08:20
@nicoweidner nicoweidner merged commit aad41ee into refactor-python-tools Nov 22, 2022
@nicoweidner nicoweidner deleted the issue-290-refactor-data-model branch November 22, 2022 08:22
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