From 98b3d9f81e92997c34ad564ddb494b6c554fcf55 Mon Sep 17 00:00:00 2001 From: Xiaoliang Wu Date: Sat, 15 Jan 2022 22:49:03 -0800 Subject: [PATCH] add __all__ to files "adjustmentsinfo.py" and "albuminfo.py" (#584) --- osxphotos/adjustmentsinfo.py | 2 ++ osxphotos/albuminfo.py | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/osxphotos/adjustmentsinfo.py b/osxphotos/adjustmentsinfo.py index b1166651..ac030a07 100644 --- a/osxphotos/adjustmentsinfo.py +++ b/osxphotos/adjustmentsinfo.py @@ -16,6 +16,8 @@ import zlib from .datetime_utils import datetime_naive_to_utc +__all__ = ["AdjustmentsDecodeError", "AdjustmentsInfo"] + class AdjustmentsDecodeError(Exception): """Could not decode adjustments plist file""" diff --git a/osxphotos/albuminfo.py b/osxphotos/albuminfo.py index e431a279..84ea3297 100644 --- a/osxphotos/albuminfo.py +++ b/osxphotos/albuminfo.py @@ -24,6 +24,13 @@ from ._constants import ( from .datetime_utils import get_local_tz from .query_builder import get_query +__all__ = ["sort_list_by_keys", + "AlbumInfoBaseClass", + "AlbumInfo", + "ImportInfo", + "ProjectInfo", + "FolderInfo"] + def sort_list_by_keys(values, sort_keys): """Sorts list values by a second list sort_keys