From 4c915b112e5108950ac779b5d6d1b93c369b1cc6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 18 Aug 2024 14:27:15 -0500 Subject: [PATCH] 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. --- docs/asyncio_blocking_operations.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/asyncio_blocking_operations.md b/docs/asyncio_blocking_operations.md index 36169cee..bf05e2b4 100644 --- a/docs/asyncio_blocking_operations.md +++ b/docs/asyncio_blocking_operations.md @@ -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)