Tornado 6.5 Documentationcan be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized httpclient import HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native coroutine: AsyncHTTPClient async def asynchronous_fetch(url): http_client = AsyncHTTPClient() response = await http_client.fetch(url) return response.body Or for compatibility with older versions of Python, using the tornado0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationcan be blocking in some respects and non-blocking in others. In the context of Tornado we generally talk about blocking in the context of network I/O, although all kinds of blocking are to be minimized HTTPClient def synchronous_fetch(url): http_client = HTTPClient() response = http_client.fetch(url) return response.body And here is the same function rewritten asynchronously as a native def asynchronous_fetch(url): http_client = AsyncHTTPClient() response = await http_client.fetch(url) return response.body Or for compatibility with older versions of Python, using the tornado0 码力 | 437 页 | 405.14 KB | 3 月前3
Conda 24.1.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. The default setup By default, conda can serve packages from two main locations: • repo.anaconda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 795 页 | 4.73 MB | 8 月前3
Conda 23.11.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. The default setup By default, conda can serve packages from two main locations: • repo.anaconda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 781 页 | 4.79 MB | 8 月前3
Conda 25.1.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. The default setup By default, conda can serve packages from two main locations: • repo.anaconda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 822 页 | 5.20 MB | 8 月前3
Conda 24.11.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. The default setup By default, conda can serve packages from two main locations: • repo.anaconda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 818 页 | 5.21 MB | 8 月前3
Conda 24.9.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. 70 Chapter 4. Contributors welcome conda, Release 24.9.3.dev1 The default setup By default, request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 799 页 | 5.26 MB | 8 月前3
Conda 23.10.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. The default setup By default, conda can serve packages from two main locations: • repo.anaconda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 773 页 | 5.05 MB | 8 月前3
Conda 24.7.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. 68 Chapter 4. Contributors welcome conda, Release 24.7.1 The default setup By default, conda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 808 页 | 4.97 MB | 8 月前3
Conda 23.9.x Documentationchannels The conda configuration system has several keys that can be used to set up a mirrored context. The default setup By default, conda can serve packages from two main locations: • repo.anaconda request, the read timeout is the number of seconds conda will wait for # # the server to send a response. # # # remote_read_timeout_secs: 60.0 # # ssl_verify (bool, str) # # aliases: verify_ssl # # Conda are shell-level commands. That is, they affect the state (e.g. environment variables) of the shell context being interacted with. Other core commands, like conda create and conda install, also necessarily0 码力 | 753 页 | 4.86 MB | 8 月前3
共 271 条
- 1
- 2
- 3
- 4
- 5
- 6
- 28













