Tornado 6.5 Documentationbe called when prepare has not. (These are considered bugs and may be fixed in the future, but for now you may need to check to see if the initialization work done in prepare has occurred) on_finish may = None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.4 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.1 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs) → Future[None]0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.3 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 264 页 | 1.06 MB | 1 年前3
Tornado 6.0 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, previous flush’s callback has been run, the previous callback will be discarded. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.2 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 5.1 Documentation
, name=None) Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, previous flush’s callback has been run, the previous callback will be discarded. Changed in version 4.0: Now returns a Future if no callback is given. Deprecated since version 5.1: The callback argument is deprecated raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name, **kwargs) Renders the template0 码力 | 243 页 | 895.80 KB | 1 年前3
Celery 3.1 Documentation127.0.0.1 localhost myhost myhost.local If you start the rabbitmq server, your rabbit node should now be rabbit@myhost, as verified by rabbitmqctl: $ sudo rabbitmqctl status Status of node rabbit@myhost single task, called add, which returns the sum of two numbers. Running the celery worker server You now run the worker by executing our program with the worker argument: $ celery -A tasks worker --loglevel=info the task execution (see Calling Tasks): >>> from tasks import add >>> add.delay(4, 4) The task has now been processed by the worker you started earlier, and you can verify that by looking at the workers0 码力 | 607 页 | 2.27 MB | 1 年前3
共 496 条
- 1
- 2
- 3
- 4
- 5
- 6
- 50













