Opened 6 years ago
Closed 6 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 6 years ago by zhangjr
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
