Skip to content

Commit 6fc9d6a

Browse files
committed
use py3.11 compatible super() for dataclasses with slots
1 parent 26160e4 commit 6fc9d6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/reflex-core/src/reflex_core/_internal/event/processor

packages/reflex-core/src/reflex_core/_internal/event/processor/future.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class EventFuture(asyncio.Future):
3737
)
3838

3939
def __post_init__(self) -> None:
40-
super().__init__(loop=self.loop)
40+
super(EventFuture, self).__init__(loop=self.loop)
4141

4242
def add_child(self, child: EventFuture) -> None:
4343
"""Add a child future to this tracked future.

0 commit comments

Comments
 (0)