Django Q Documentation
Release 0.7.9function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result cached (bool) – run this task function kwargs (dict) – Keyword arguments for the task function. Ignores hook. Returns: The uuid of the task Return type: str queue_size() Returns the size of the broker queue. Note that this0 码力 | 62 页 | 514.67 KB | 1 年前3
Django Q Documentation
Release 0.7.10function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result cached (bool) – run this task function kwargs (dict) – Keyword arguments for the task function. Ignores hook. Returns: The uuid of the task Return type: str async_chain(chain, group=None, cached=Conf.CACHED, sync=Conf.SYNC,0 码力 | 67 页 | 518.39 KB | 1 年前3
Django Q Documentation
Release 0.7.11function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 72 页 | 526.88 KB | 1 年前3
Django Q Documentation
Release 0.7.14function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 527.40 KB | 1 年前3
Django Q Documentation
Release 0.7.12function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 527.33 KB | 1 年前3
Django Q Documentation
Release 0.7.18function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 516.84 KB | 1 年前3
Django Q Documentation
Release 0.7.15function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 528.16 KB | 1 年前3
Django Q Documentation
Release 0.7.16function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 516.76 KB | 1 年前3
Django Q Documentation
Release 0.8.0function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: task_id (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 506.27 KB | 1 年前3
Django Q Documentation
Release 0.7.17function Returns: The uuid of the task Return type: str result(task_id, wait=0, cached=False) Gets the result of a previously executed task Parameters: task_id (str) – the uuid or name of the task wait fetch(task_id, wait=0, cached=False) Returns a previously executed task Parameters: name (str) – the uuid or name of the task wait (int) – optional milliseconds to wait for a result. -1 for indefinite cached – the uuid of the task broker – an optional broker instance class Task Database model describing an executed task id An uuid.uuid4() [https://docs.python.org/3.5/library/uuid.html#uuid.uuid4] identifier0 码力 | 73 页 | 516.85 KB | 1 年前3
共 66 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













