- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Reset (0.19 sec)
-
docs/en/docs/release-notes.md
This means that now, if you set a value in a context variable before `yield`, the value would still be available after `yield` (as you would intuitively expect). And it also means that you can reset the context variable with a token afterwards. For example, this works correctly now: ```Python from contextvars import ContextVar from typing import Any, Dict, Optional
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1)