Updated example [skip ci]
This commit is contained in:
parent
377e165be4
commit
49adff1f3b
@ -5,7 +5,7 @@ from typing import List
|
||||
from osxphotos import PhotoInfo
|
||||
|
||||
|
||||
# call this with --query-function:examples/query_function.py::best_selfies
|
||||
# call this with --query-function examples/query_function.py::best_selfies
|
||||
def best_selfies(photos: List[PhotoInfo]) -> List[PhotoInfo]:
|
||||
"""your query function should take a list of PhotoInfo objects and return a list of PhotoInfo objects (or empty list)"""
|
||||
# this example finds your best selfie for every year
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user