amazon_photos icon indicating copy to clipboard operation
amazon_photos copied to clipboard

Option to lazily initialize db, folders and tree?

Open DDoS opened this issue 9 months ago • 0 comments

These three lines of code in __init__ are very slow (at least for my data), and not always necessary. Would it be possible to make them optional? That would significantly speedup the initialization when just needing to query and download photos.

self.folders = self.get_folders()
self.db = self.load_db(**kwargs)
self.tree = self.build_tree()

DDoS avatar May 14 '24 01:05 DDoS