oops, need asyncio _inside_ the app
This commit is contained in:
parent
c86e4c9ee0
commit
02d215f798
@ -1,6 +1,5 @@
|
|||||||
"""Test case for displaying the connection banner when the websocket drops."""
|
"""Test case for displaying the connection banner when the websocket drops."""
|
||||||
|
|
||||||
import asyncio
|
|
||||||
import functools
|
import functools
|
||||||
from typing import Generator
|
from typing import Generator
|
||||||
|
|
||||||
@ -15,6 +14,8 @@ from .utils import SessionStorage
|
|||||||
|
|
||||||
def ConnectionBanner(is_reflex_cloud: bool = False):
|
def ConnectionBanner(is_reflex_cloud: bool = False):
|
||||||
"""App with a connection banner."""
|
"""App with a connection banner."""
|
||||||
|
import asyncio
|
||||||
|
|
||||||
import reflex as rx
|
import reflex as rx
|
||||||
|
|
||||||
# Simulate reflex cloud deploy
|
# Simulate reflex cloud deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user