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

comments: add notes for refactoring #53

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MyPyDavid
Copy link

this is just a draft PR to show comments, it should not be merged ;)

if i == len(trel_values) - 1: # Check if it's the last trel value
answers[tClass][next_available_key].setdefault(trel, {}).update({0: current})
@dataclass
class EntityRelation:
Copy link
Author

@MyPyDavid MyPyDavid Oct 23, 2024

Choose a reason for hiding this comment

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

this is generated by GPT but is an example of how to refactor by using dataclasses , maybe, as an example, it makes sense for you when you look at this code.

Copy link
Owner

Choose a reason for hiding this comment

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

Thanks a lot, I will have look at it.

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