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

Nullable properties #336

Merged
merged 5 commits into from
Jan 3, 2025
Merged

Nullable properties #336

merged 5 commits into from
Jan 3, 2025

Conversation

lucc
Copy link
Owner

@lucc lucc commented Jan 2, 2025

This is a step for #272. The N attributes are not yet handled correctly.

lucc added 5 commits December 20, 2024 19:52
The _list attribute on the underlying vcard object should be faster than
iterating through all attributes ourself.

With this it should be possible to detect if an attribute is present on
the vcard or not.  If it is not present the @Property on the wrapper
returns None or an empty list or an empty dict, depending on the
attribute.
@lucc lucc merged commit a83c749 into main Jan 3, 2025
14 of 16 checks passed
@lucc lucc deleted the nullable-properties branch January 3, 2025 09:45
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