 Django Q Documentation
Release 0.7.13from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() 1.6. Iterable 25 Django Q Documentation, Release 0.7.13 convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.37 KB | 1 年前3 Django Q Documentation
Release 0.7.13from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() 1.6. Iterable 25 Django Q Documentation, Release 0.7.13 convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.37 KB | 1 年前3
 Django Q Documentation
Release 0.7.11from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) 1.6.1 Reference async_iter(func, args_iter, **kwargs) Runs iterable arguments convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 54 页 | 412.45 KB | 1 年前3 Django Q Documentation
Release 0.7.11from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) 1.6.1 Reference async_iter(func, args_iter, **kwargs) Runs iterable arguments convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 54 页 | 412.45 KB | 1 年前3
 Django Q Documentation
Release 0.7.12from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() 1.6. Iterable 25 Django Q Documentation, Release 0.7.12 convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 415.46 KB | 1 年前3 Django Q Documentation
Release 0.7.12from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() 1.6. Iterable 25 Django Q Documentation, Release 0.7.12 convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 415.46 KB | 1 年前3
 Django Q Documentation
Release 0.7.10from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] that uses the cache backend chain = Chain(cached=True) # add some tasks chain.append('math.copysign', 1, -1) chain.append('math.floor', 1) # run it chain.run() print(chain.result()) 18 Chapter 1. Features convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments0 码力 | 52 页 | 406.50 KB | 1 年前3 Django Q Documentation
Release 0.7.10from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] that uses the cache backend chain = Chain(cached=True) # add some tasks chain.append('math.copysign', 1, -1) chain.append('math.floor', 1) # run it chain.run() print(chain.result()) 18 Chapter 1. Features convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments0 码力 | 52 页 | 406.50 KB | 1 年前3
 Django Q Documentation
Release 0.7.17some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.16 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.84 KB | 1 年前3 Django Q Documentation
Release 0.7.17some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.16 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.84 KB | 1 年前3
 Django Q Documentation
Release 0.7.14from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments optional broker instance 26 Chapter 1. Features Django Q Documentation, Release 0.7.14 append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 415.72 KB | 1 年前3 Django Q Documentation
Release 0.7.14from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments optional broker instance 26 Chapter 1. Features Django Q Documentation, Release 0.7.14 append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 415.72 KB | 1 年前3
 Django Q Documentation
Release 0.7.15some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.15 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.75 KB | 1 年前3 Django Q Documentation
Release 0.7.15some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.15 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.75 KB | 1 年前3
 Django Q Documentation
Release 0.7.18some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.18 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 418.08 KB | 1 年前3 Django Q Documentation
Release 0.7.18some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.18 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 418.08 KB | 1 年前3
 Django Q Documentation
Release 0.7.16some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.15 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.69 KB | 1 年前3 Django Q Documentation
Release 0.7.16some arguments 26 Chapter 1. Features Django Q Documentation, Release 0.7.15 i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 56 页 | 416.69 KB | 1 年前3
 Django Q Documentation
Release 0.9.0from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 58 页 | 427.01 KB | 1 年前3 Django Q Documentation
Release 0.9.0from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] convenient wrapper for async_iter() You can pass the iterable arguments at construction or you can append individual argument tuples. param func the function to execute param args an iterable of arguments sync execute this inline instead of asynchronous param broker optional broker instance append(*args) Append arguments to the iter set. Returns the current set count. param args the arguments for a0 码力 | 58 页 | 427.01 KB | 1 年前3
共 89 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9














