mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-16 05:46:30 +00:00
Add full function names to body of blocking function in asyncio docs (#2274)
https://github.com/home-assistant/developers.home-assistant/pull/2273#discussion_r1721032632 The titles are left as-is since the link that is generated from core when one of these functions is hit only includes the function name and not the full path to the function. Changing the title of the block would break the link.
This commit is contained in:
parent
a95671d886
commit
4c915b112e
@ -97,19 +97,19 @@ urllib does blocking I/O and should be run in the executor with the standard met
|
||||
|
||||
#### write_bytes
|
||||
|
||||
`write_bytes` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
`pathlib.Path.write_bytes` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
|
||||
#### write_text
|
||||
|
||||
`write_text` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
`pathlib.Path.write_text` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
|
||||
#### read_bytes
|
||||
|
||||
`read_bytes` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
`pathlib.Path.read_bytes` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
|
||||
#### read_text
|
||||
|
||||
`read_text` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
`pathlib.Path.read_text` does blocking disk I/O and should be run in the executor with the standard methods above.
|
||||
|
||||
#### load_default_certs
|
||||
|
||||
@ -123,8 +123,8 @@ The following helpers ensure that the blocking I/O will happen in the executor:
|
||||
|
||||
#### load_verify_locations
|
||||
|
||||
See [load_default_certs](#load_default_certs)
|
||||
See [SSLContext.load_default_certs](#load_default_certs)
|
||||
|
||||
#### load_cert_chain
|
||||
|
||||
See [load_default_certs](#load_cert_chain)
|
||||
See [SSLContext.load_default_certs](#load_default_certs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user