|
@@ -8,6 +8,7 @@ from typing import Any
|
|
|
|
|
|
from reflex.config import get_config
|
|
|
from reflex.event import EventType
|
|
|
+from reflex.utils import console
|
|
|
|
|
|
DECORATED_PAGES: dict[str, list] = defaultdict(list)
|
|
|
|
|
@@ -76,6 +77,13 @@ def get_decorated_pages(omit_implicit_routes: bool = True) -> list[dict[str, Any
|
|
|
Returns:
|
|
|
The decorated pages.
|
|
|
"""
|
|
|
+ console.deprecate(
|
|
|
+ "get_decorated_pages",
|
|
|
+ reason="This function is deprecated and will be removed in a future version.",
|
|
|
+ deprecation_version="0.7.9",
|
|
|
+ removal_version="0.8.0",
|
|
|
+ dedupe=True,
|
|
|
+ )
|
|
|
return sorted(
|
|
|
[
|
|
|
page_data
|