summaryrefslogtreecommitdiff
path: root/src/mailman/model/requests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/requests.py')
-rw-r--r--src/mailman/model/requests.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mailman/model/requests.py b/src/mailman/model/requests.py
index 341233280..f7f42f37e 100644
--- a/src/mailman/model/requests.py
+++ b/src/mailman/model/requests.py
@@ -17,13 +17,8 @@
"""Implementations of the pending requests interfaces."""
-__all__ = [
- 'DataPendable',
- 'ListRequests',
- ]
-
-
from datetime import timedelta
+from mailman import public
from mailman.database.model import Model
from mailman.database.transaction import dbconnection
from mailman.database.types import Enum
@@ -37,7 +32,7 @@ from zope.component import getUtility
from zope.interface import implementer
-
+@public
@implementer(IPendable)
class DataPendable(dict):
"""See `IPendable`."""
@@ -59,7 +54,7 @@ class DataPendable(dict):
super().update(clean_mapping)
-
+@public
@implementer(IListRequests)
class ListRequests:
"""See `IListRequests`."""
@@ -144,7 +139,6 @@ class ListRequests:
store.delete(request)
-
class _Request(Model):
"""Table for mailing list hold requests."""