Flask - Background Tasks
Given this Flask rq task code snippet:
What will be printed immediately after running this code?
from rq import Queue
from redis import Redis
redis_conn = Redis()
queue = Queue(connection=redis_conn)
def add(x, y):
return x + y
job = queue.enqueue(add, 3, 4)
print(job.result)What will be printed immediately after running this code?
