Remove MailboxStorage TODO

This commit is contained in:
Lee Miller 2023-11-21 13:29:08 +02:00
parent c34b827f0f
commit 0f8fdb4b0b
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -2,15 +2,13 @@
Storing inventory items Storing inventory items
""" """
from abc import ABCMeta, abstractmethod from abc import abstractmethod
from collections import namedtuple from collections import namedtuple
try: try:
from collections import MutableMapping # pylint: disable=deprecated-class from collections import MutableMapping # pylint: disable=deprecated-class
except ImportError: except ImportError:
from collections.abc import MutableMapping from collections.abc import MutableMapping
import six
InventoryItem = namedtuple('InventoryItem', 'type stream payload expires tag') InventoryItem = namedtuple('InventoryItem', 'type stream payload expires tag')
@ -47,9 +45,3 @@ class InventoryStorage(MutableMapping):
def clean(self): def clean(self):
"""Free memory / perform garbage collection""" """Free memory / perform garbage collection"""
pass pass
@six.add_metaclass(ABCMeta)
class MailboxStorage(MutableMapping):
"""An abstract class for storing mails. TODO"""
pass