-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor _get_multi_property into get_all; make name getters nullable
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.
- Loading branch information
Showing
2 changed files
with
75 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters