Skip to content

Commit fa0667f

Browse files
authored
Fiex: ensure cls.__dict__ compat w/ python3.14 (#5684)
1 parent 671590b commit fa0667f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def __init_subclass__(cls, mixin: bool = False, **kwargs):
509509

510510
new_backend_vars = {
511511
name: value
512-
for name, value in cls.__dict__.items()
512+
for name, value in list(cls.__dict__.items())
513513
if types.is_backend_base_variable(name, cls)
514514
}
515515
# Add annotated backend vars that may not have a default value.

0 commit comments

Comments
 (0)