Skip to content

Fix handling of missing attributes in _match function#112

Open
bhawna346 wants to merge 1 commit intomllam:mainfrom
bhawna346:patch-3
Open

Fix handling of missing attributes in _match function#112
bhawna346 wants to merge 1 commit intomllam:mainfrom
bhawna346:patch-3

Conversation

@bhawna346
Copy link
Copy Markdown

This PR fixes an issue where filtering could fail if an attribute was missing.

Previously, _get_nested_attr_value could raise a KeyError, causing the filtering logic to break.

This update ensures missing attributes are handled gracefully by returning False.

Handle KeyError in lookup processing.
@bhawna346
Copy link
Copy Markdown
Author

Hi, I’d be happy to make any changes if needed. Thanks for reviewing!

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.

1 participant