oops, need asyncio _inside_ the app

This commit is contained in:
Masen Furer 2025-01-30 11:26:33 -08:00
parent c86e4c9ee0
commit 02d215f798
No known key found for this signature in database
GPG Key ID: 2AE2BD5531FF94F4

View File

@ -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