From b6fe2b55e00a993d276134f5ceb5a080718f34e4 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Fri, 31 Jan 2020 20:15:52 -0800 Subject: [PATCH] Updated documentation --- osxphotos/photosdb.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/osxphotos/photosdb.py b/osxphotos/photosdb.py index fbd4456f..20fa47df 100644 --- a/osxphotos/photosdb.py +++ b/osxphotos/photosdb.py @@ -1322,6 +1322,12 @@ class PhotosDB: If called with no args, returns the entire database of photos If called with args, returns photos matching the args (e.g. keywords, persons, etc.) If more than one arg, returns photos matching all the criteria (e.g. keywords AND persons) + If more than one keyword, uuid, persons, albums is passed, they are treated as "OR" criteria + e.g. keywords=["wedding","vacation"] returns photos matching either keyword + keywords: list of keywords to search for + uuid: list of UUIDs to search for + persons: list of persons to search for + albums: list of album names to search for images: if True, returns image files, if False, does not return images; default is True movies: if True, returns movie files, if False, does not return movies; default is False from_date: return photos with creation date >= from_date (datetime.datetime object, default None)