Skip to content

Commit 2ee25f2

Browse files
committed
fix: backup_restore __all__
1 parent e93b44c commit 2ee25f2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • src/openedx_content/applets/backup_restore

src/openedx_content/applets/backup_restore/api.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@
99
from .zipper import LearningPackageUnzipper, LearningPackageZipper
1010

1111

12+
# The public API that will be re-exported by openedx_content.api
13+
# is listed in the __all__ entries below. Internal helper functions that are
14+
# private to this module should start with an underscore. If a function does not
15+
# start with an underscore AND it is not in __all__, that function is considered
16+
# to be callable only by other applets in the openedx_content package.
17+
__all__ = [
18+
"create_zip_file",
19+
"load_learning_package",
20+
]
21+
22+
1223
def create_zip_file(
1324
package_ref: str, path: str, user: UserType | None = None, origin_server: str | None = None
1425
) -> None:

0 commit comments

Comments
 (0)