Celery 2.1 DocumentationTokenBucket from celery.utils import timeutils from celery.utils.compat import all, izip_longest, chain_from_iterable • Wildcard imports must not be used (from xxx import *). 94 Chapter 6. Contributing set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = ‘celery0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.1 DocumentationTokenBucket from celery.utils import timeutils from celery.utils.compat import all, izip_longest, chain_from_iterable Wildcard imports must not be used (from xxx import *). © Copyright 2009-2011, Ask set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = 'celery0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 3.0 Documentationactually do with these? To get to that I must introduce the canvas primitives… The Primitives group chain chord map starmap chunks These primitives are signature objects themselves, so they can be combined >>> from celery import chain >>> from proj.tasks import add, mul # (4 + 4) * 8 >>> chain(add.s(4, 4) | mul.s(8))().get() 64 or a partial chain: >>> # (? + 4) * 8 >>> g = chain(add.s(4) | mul.s(8)) >>> (4.0). For development docs, go here. Application Main Name Configuration Laziness Breaking the chain Abstract Tasks The Celery library must be instantiated before use, this instance is called an application0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 Documentationactually do with these? To get to that I must introduce the canvas primitives… The Primitives group chain chord map starmap chunks These primitives are signature objects themselves, so they can be combined >>> from celery import chain >>> from proj.tasks import add, mul # (4 + 4) * 8 >>> chain(add.s(4, 4) | mul.s(8))().get() 64 or a partial chain: >>> # (? + 4) * 8 >>> g = chain(add.s(4) | mul.s(8)) >>> (4.0). For development docs, go here. Application Main Name Configuration Laziness Breaking the chain Abstract Tasks The Celery library must be instantiated before use, this instance is called an application0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery 2.3 Documentationdatastructures import TokenBucket from .utils import timeutils from .utils.compat import all, izip_longest, chain_from_iterable • Wildcard imports must not be used (from xxx import *). • For distributions where set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = ‘celery0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.2 DocumentationTokenBucket from celery.utils import timeutils from celery.utils.compat import all, izip_longest, chain_from_iterable • Wildcard imports must not be used (from xxx import *). 94 Chapter 5. Contributing set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = ‘celery0 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.2 DocumentationTokenBucket from celery.utils import timeutils from celery.utils.compat import all, izip_longest, chain_from_iterable Wildcard imports must not be used (from xxx import *). © Copyright 2009-2011, Ask set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = 'celery0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.3 Documentationdatastructures import TokenBucket from .utils import timeutils from .utils.compat import all, izip_longest, chain_from_iterable Wildcard imports must not be used (from xxx import *). For distributions where Python set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = 'celery0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery 2.5 Documentationdatastructures import TokenBucket from .utils import timeutils from .utils.compat import all, izip_longest, chain_from_iterable • Wildcard imports must not be used (from xxx import *). 128 Chapter 6. Contributing set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = ‘celery0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 3.1 Documentationwith these? To get to that I must introduce the canvas primitives. . . The Primitives • group • chain • chord • map • starmap • chunks 2.2. Getting Started 37 Celery Documentation, Release 3.1.25 The >>> from celery import chain >>> from proj.tasks import add, mul # (4 + 4) * 8 >>> chain(add.s(4, 4) | mul.s(8))().get() 64 or a partial chain: # (? + 4) * 8 >>> g = chain(add.s(4) | mul.s(8)) >>> 1 Date Nov 12, 2017 2.3.1 Application • Main Name • Configuration • Laziness • Breaking the chain • Abstract Tasks The Celery library must be instantiated before use, this instance is called an0 码力 | 607 页 | 2.27 MB | 1 年前3
共 49 条
- 1
- 2
- 3
- 4
- 5













