Skip to content

Commit ab4a2ef

Browse files
committed
py3.11 compatibility
1 parent f1bcc49 commit ab4a2ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reflex/vars/dep_tracking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ def handle_getting_state(self, instruction: dis.Instruction) -> None:
273273
self._getting_state_class,
274274
instruction.argval,
275275
)
276-
elif instruction.opname == "END_SEND":
277-
# Now outside of the `await` machinery, subsequent instructions
276+
elif instruction.opname == "GET_AWAITABLE":
277+
# Now inside the `await` machinery, subsequent instructions
278278
# operate on the result of the `get_state` call.
279279
self.scan_status = ScanStatus.GETTING_STATE_POST_AWAIT
280280
if self._getting_state_class is not None:

0 commit comments

Comments
 (0)