Opened 5 years ago

Closed 5 years ago

#61 closed task (fixed)

use args to set parameters

Reported by: zhangjr Owned by: zhangjr
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

@rq.job()
def add(x, y):

return x + y

default_queue.enqueue(add, args=(1, 2))

Subtickets

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by zhangjr

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.