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

Fix kl/at merging #82

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Fix kl/at merging #82

merged 4 commits into from
Aug 23, 2024

Conversation

uhbrar
Copy link
Collaborator

@uhbrar uhbrar commented Aug 23, 2024

Addresses both #81 and #80

This update will remove extra KL/AT attributes when merging edges together. It doesn't use any creative logic here, and does not change the existing KL/AT attributes, even if the removed one provides additional information.

@uhbrar uhbrar requested a review from maximusunc August 23, 2024 01:44
@@ -27,6 +27,9 @@ def update(self, other):
f"Model {self.__class__.__name__} has no update method"
)

def get_field(self, field):
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is this used for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was originally going to use this method, but this is what we had discussed before, which provides a method to get an arbitrary field, if it exists for that model.

@uhbrar uhbrar merged commit 56c4c79 into main Aug 23, 2024
2 checks passed
@uhbrar uhbrar deleted the fix_kl/at_merging branch August 23, 2024 14:22
@uhbrar uhbrar linked an issue Aug 23, 2024 that may be closed by this pull request
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.

Multiple knowledge level and agent type
2 participants