Django Q Documentation
Release 0.7.13any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 416.37 KB | 1 年前3
Django Q Documentation
Release 0.7.11any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 54 页 | 412.45 KB | 1 年前3
Django Q Documentation
Release 0.7.10go/mongo_client.html#pymongo.mongo_client.MongoClient] If you want to use a mongodb uri, you can supply it as the host parameter. mongo_db When using the MongoDB broker you can optionally provide a database sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance:0 码力 | 67 页 | 518.39 KB | 1 年前3
Django Q Documentation
Release 0.7.12any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 415.46 KB | 1 年前3
Django Q Documentation
Release 0.7.10any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 52 页 | 406.50 KB | 1 年前3
Django Q Documentation
Release 0.7.17any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 416.84 KB | 1 年前3
Django Q Documentation
Release 0.7.11go/mongo_client.html#pymongo.mongo_client.MongoClient] If you want to use a mongodb uri, you can supply it as the host parameter. mongo_db When using the MongoDB broker you can optionally provide a database sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance:0 码力 | 72 页 | 526.88 KB | 1 年前3
Django Q Documentation
Release 0.7.14go/mongo_client.html#pymongo.mongo_client.MongoClient] If you want to use a mongodb uri, you can supply it as the host parameter. mongo_db When using the MongoDB broker you can optionally provide a database sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance:0 码力 | 73 页 | 527.40 KB | 1 年前3
Django Q Documentation
Release 0.7.14any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 415.72 KB | 1 年前3
Django Q Documentation
Release 0.7.12go/mongo_client.html#pymongo.mongo_client.MongoClient] If you want to use a mongodb uri, you can supply it as the host parameter. mongo_db When using the MongoDB broker you can optionally provide a database sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance:0 码力 | 73 页 | 527.33 KB | 1 年前3
共 81 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













