示例#1
0
class VoteStorageManager(Task):
    """ Manage creation of vote storages for jobs.
    """
    def __init__(self):
        self.factory = VoteStorageFactory()

    def run(self, *args, **kwargs):
        self.factory.init_storage(*args, **kwargs)
示例#2
0
class VoteStorageManager(Task):
    """ Manage creation of vote storages for jobs.
    """

    def __init__(self):
        self.factory = VoteStorageFactory()

    def run(self, *args, **kwargs):
        self.factory.init_storage(*args, **kwargs)
示例#3
0
 def __init__(self):
     self.factory = VoteStorageFactory()
示例#4
0
 def __init__(self):
     self.factory = VoteStorageFactory()