run format
This commit is contained in:
parent
3c00c33444
commit
5af03683e9
@ -9,9 +9,6 @@ import dataclasses
|
|||||||
import functools
|
import functools
|
||||||
import inspect
|
import inspect
|
||||||
import io
|
import io
|
||||||
import dill
|
|
||||||
import multiprocess
|
|
||||||
from pathos import multiprocessing, pools
|
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
import sys
|
import sys
|
||||||
@ -51,7 +48,6 @@ from reflex.compiler import compiler
|
|||||||
from reflex.compiler import utils as compiler_utils
|
from reflex.compiler import utils as compiler_utils
|
||||||
from reflex.compiler.compiler import (
|
from reflex.compiler.compiler import (
|
||||||
ExecutorSafeFunctions,
|
ExecutorSafeFunctions,
|
||||||
compile_uncompiled_page_helper,
|
|
||||||
)
|
)
|
||||||
from reflex.components.base.app_wrap import AppWrap
|
from reflex.components.base.app_wrap import AppWrap
|
||||||
from reflex.components.base.error_boundary import ErrorBoundary
|
from reflex.components.base.error_boundary import ErrorBoundary
|
||||||
@ -181,7 +177,7 @@ class OverlayFragment(Fragment):
|
|||||||
class UncompiledPage:
|
class UncompiledPage:
|
||||||
"""An uncompiled page."""
|
"""An uncompiled page."""
|
||||||
|
|
||||||
component: Component
|
component: Component | ComponentCallable
|
||||||
route: str
|
route: str
|
||||||
title: str
|
title: str
|
||||||
description: str
|
description: str
|
||||||
@ -549,8 +545,8 @@ class App(MiddlewareMixin, LifespanMixin, Base):
|
|||||||
self.uncompiled_pages[route] = UncompiledPage(
|
self.uncompiled_pages[route] = UncompiledPage(
|
||||||
component=component,
|
component=component,
|
||||||
route=route,
|
route=route,
|
||||||
title=title,
|
title=title or constants.DefaultPage.TITLE,
|
||||||
description=description,
|
description=description or constants.DefaultPage.DESCRIPTION,
|
||||||
image=image,
|
image=image,
|
||||||
on_load=on_load,
|
on_load=on_load,
|
||||||
meta=meta,
|
meta=meta,
|
||||||
|
Loading…
Reference in New Issue
Block a user