Tornado 6.0 Documentation
Tornado. Coroutines use the Python await or yield keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent [http://www.gevent (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class. They contain a Matcher, which provides the logic for determining whether0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
Tornado. Coroutines use the Python await or yield keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent [http://www.gevent (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example and ReversibleRouter interfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class. They contain a Matcher, which provides the logic for determining whether0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 5.1 Documentation
Tornado. Coroutines use the Python await or yield keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent are sometimes called (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example and ReversibleRouter in- terfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class. They contain a Matcher, which provides the logic for determining whether0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.5 Documentationin Tornado. Coroutines use the Python await keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent are sometimes called all keyword arguments that set_cookie does. Deprecated since version 6.3: The increasingly complex rules governing cookies have made it impossible for a clear_all_cookies method to work reliably since all (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.1 Documentation
Tornado. Coroutines use the Python await or yield keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent are sometimes called (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example and ReversibleRouter in- terfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class. They contain a Matcher, which provides the logic for determining whether0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
Tornado. Coroutines use the Python await or yield keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent are sometimes called (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example and ReversibleRouter in- terfaces and can be used for creating rule-based routing configurations. Rules are instances of Rule class. They contain a Matcher, which provides the logic for determining whether0 码力 | 245 页 | 885.76 KB | 1 年前3
Scrapy 2.2 Documentationthat request finishes. Using this, you can build complex crawlers that follow links according to rules you define, and extract different kinds of data depending on the page it’s visiting. In our example of following links, check out the CrawlSpider class for a generic spider that implements a small rules engine that you can use to write your crawlers on top of it. Also, a common pattern is to build an Example: –cbkwargs=’{“foo” : “bar”}’ • --pipelines: process items through pipelines • --rules or -r: use CrawlSpider rules to discover the callback (i.e. spider method) to use for parsing the response • --noitems:0 码力 | 348 页 | 1.35 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
Tornado 6.4 Documentation
in Tornado. Coroutines use the Python await keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent are sometimes called all keyword arguments that set_cookie does. Deprecated since version 6.3: The increasingly complex rules governing cookies have made it impossible for a clear_all_cookies method to work reliably since all (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
in Tornado. Coroutines use the Python await keyword to suspend and resume execution instead of a chain of callbacks (cooperative lightweight threads as seen in frameworks like gevent are sometimes called all keyword arguments that set_cookie does. Deprecated since version 6.3: The increasingly complex rules governing cookies have made it impossible for a clear_all_cookies method to work reliably since all (PathMatches(regexp), target). A common routing target is a RequestHandler subclass, but you can also use lists of rules as a target, which create a nested routing configuration: application = web.Application([ (HostMatches("example0 码力 | 268 页 | 1.09 MB | 1 年前3
共 374 条
- 1
- 2
- 3
- 4
- 5
- 6
- 38













