def handle(self, *args, **options):
        from pq.queue import Queue, SerialQueue
        verbosity = int(options.get('verbosity', 1))
        timeout = options.get('timeout')
        for queue in args:
            if options['serial']:
                q = SerialQueue.create(queue)
            else:
                q = Queue.create(queue)
            q.connection = options.get('conn')
            q.scheduled = options.get('scheduled')
            if timeout:
                q.default_timeout = timeout
            q.save()
Get accounts for a user.
dataset/ETHPy150Open bretth/django-pq/pq/management/commands/pqcreate.py/Command.handle--crossover with--dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_08_codes/oandapy.py/EndpointsMixin.get_accounts