From b5ad450fa6d53186b68f89a4507fdbabc8900f74 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Mon, 13 Apr 2020 23:26:16 -0600 Subject: [PATCH] Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example. It does not support thread_sensitive when used as a decorator, yet. --- docs/topics/async.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/topics/async.txt b/docs/topics/async.txt index 3b0e72be3e..99b7f06113 100644 --- a/docs/topics/async.txt +++ b/docs/topics/async.txt @@ -227,10 +227,6 @@ as either a direct wrapper or a decorator:: def sync_function(...): ... - @sync_to_async(thread_sensitive=True) - def sensitive_sync_function(...): - ... - Threadlocals and contextvars values are preserved across the boundary in both directions.