<reponame>vleo/scriptum-notebook<filename>python/message_broker_redis/caller.py
#!/usr/bin/env python
#-*- coding:utf-8 -*-

from __future__ import print_function
from mytasks import mytask

for i in range(1000):
    print(mytask.delay(str(i)).get())

#!/usr/bin/env python
#-*- coding:utf-8 -*-

from __future__ import print_function
from mytasks import mytask

for i in range(1000):
    print(mytask.delay(str(i)).get())
#!/usr/bin/env python #-*- coding:utf-8 -*-