Remove unneeded TYPE_CHECKING guard in core async_set (#116311)

This commit is contained in:
J. Nick Koston 2024-04-27 19:34:17 -05:00 committed by GitHub
parent 43dc5415de
commit 5d59b4cddd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2267,8 +2267,6 @@ class StateMachine:
return
if context is None:
if TYPE_CHECKING:
assert timestamp is not None
context = Context(id=ulid_at_time(timestamp))
if same_attr: