Remove MailboxStorage TODO
This commit is contained in:
parent
c34b827f0f
commit
0f8fdb4b0b
|
@ -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
|
|
||||||
|
|
Reference in New Issue
Block a user