Пример #1
0
 def __init__(self, aws_access_key_id, aws_secret_access_key, logger=None):
     Staff.__init__(self, aws_access_key_id, aws_secret_access_key)
     self.result_pool = list()
Пример #2
0
 def __init__(self, queue_name, queue_region, aws_access_key_id, aws_secret_access_key):
     Staff.__init__(self, aws_access_key_id, aws_secret_access_key)     
     self.queue = SQSUtils(queue_name, queue_region, aws_access_key_id, aws_secret_access_key)
Пример #3
0
 def __init__(self, queue_name, queue_region, aws_access_key_id, aws_secret_access_key):
     Staff.__init__(self, aws_access_key_id, aws_secret_access_key)     
     #Staff.deliver_queue_init(self, queue_name, queue_region, aws_access_key_id, aws_secret_access_key)     
     self.queue = SQSUtils(queue_name, queue_region, aws_access_key_id, aws_secret_access_key)
     self.priority = self._priority_init()