Django Q Documentation Release 0.7.9
and repeated tasks Encrypted and compressed packages Failure and success database or cache Result hooks and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts)0 码力 | 62 页 | 514.67 KB | 1 年前3Django Q Documentation Release 0.7.9
repeated tasks • Encrypted and compressed packages • Failure and success database or cache • Result hooks and groups • Django Admin integration • PaaS compatible with multiple instances • Multi cluster 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) Please not0 码力 | 50 页 | 397.77 KB | 1 年前3Django Q Documentation Release 0.7.13
repeated tasks • Encrypted and compressed packages • Failure and success database or cache • Result hooks, groups and chains • Django Admin integration • PaaS compatible with multiple instances • Multi 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) Please note0 码力 | 56 页 | 416.37 KB | 1 年前3Django Q Documentation Release 0.7.11
repeated tasks • Encrypted and compressed packages • Failure and success database or cache • Result hooks, groups and chains • Django Admin integration • PaaS compatible with multiple instances • Multi 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) Please not0 码力 | 54 页 | 412.45 KB | 1 年前3Django Q Documentation Release 0.7.10
and repeated tasks Encrypted and compressed packages Failure and success database or cache Result hooks and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts)0 码力 | 67 页 | 518.39 KB | 1 年前3Django Q Documentation Release 0.7.12
repeated tasks • Encrypted and compressed packages • Failure and success database or cache • Result hooks, groups and chains • Django Admin integration • PaaS compatible with multiple instances • Multi 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) Please note0 码力 | 56 页 | 415.46 KB | 1 年前3Django Q Documentation Release 0.7.10
repeated tasks • Encrypted and compressed packages • Failure and success database or cache • Result hooks and groups • Django Admin integration • PaaS compatible with multiple instances • Multi cluster 200) # but in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) Please not0 码力 | 52 页 | 406.50 KB | 1 年前3Django Q Documentation Release 0.4.6
and repeated tasks • Encrypted and compressed packages • Failure and success database • Result hooks and groups • Django Admin integration • PaaS compatible with multiple instances • Multi cluster executed yet # so in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts) Please not0 码力 | 36 页 | 249.57 KB | 1 年前3Django Q Documentation Release 0.5.3
Scheduled and repeated tasks Encrypted and compressed packages Failure and success database Result hooks and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor executed yet # so in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts)0 码力 | 46 页 | 474.97 KB | 1 年前3Django Q Documentation Release 0.4.6
Scheduled and repeated tasks Encrypted and compressed packages Failure and success database Result hooks and groups Django Admin integration PaaS compatible with multiple instances Multi cluster monitor executed yet # so in most cases you will want to use a hook: async('math.modf', 2.5, hook='hooks.print_result') # hooks.py def print_result(task): print(task.result) async() can take the following optional enables you to use these keywords for your function call: # Async options in a dict opts = {'hook': 'hooks.print_result', 'group': 'math', 'timeout': 30} async('math.modf', 2.5, q_options=opts)0 码力 | 42 页 | 203.66 KB | 1 年前3
共 89 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9