We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 232b04d commit e5e0bdbCopy full SHA for e5e0bdb
1 file changed
openedx_learning/apps/authoring/publishing/contextmanagers.py
@@ -4,6 +4,8 @@
4
Do not use this directly outside the publishing app. Use the public API's
5
bulk_draft_changes_for instead (which will invoke this internally).
6
"""
7
+from __future__ import annotations
8
+
9
from contextvars import ContextVar
10
from datetime import datetime, timezone
11
from typing import Callable
@@ -56,7 +58,7 @@ def __init__(
56
58
learning_package_id: int,
57
59
changed_at: datetime | None = None,
60
changed_by: int | None = None,
- exit_callbacks: list[Callable] | None = None
61
+ exit_callbacks: list[Callable[[DraftChangeLog], None]] | None = None
62
) -> None:
63
super().__init__(using=None, savepoint=False, durable=False)
64
0 commit comments