app_source can be partial (#3100)
This commit is contained in:
parent
36f564d5b0
commit
98a4f58134
@ -112,7 +112,9 @@ class AppHarness:
|
|||||||
"""AppHarness executes a reflex app in-process for testing."""
|
"""AppHarness executes a reflex app in-process for testing."""
|
||||||
|
|
||||||
app_name: str
|
app_name: str
|
||||||
app_source: Optional[types.FunctionType | types.ModuleType] | str
|
app_source: Optional[
|
||||||
|
types.FunctionType | types.ModuleType | str | functools.partial
|
||||||
|
]
|
||||||
app_path: pathlib.Path
|
app_path: pathlib.Path
|
||||||
app_module_path: pathlib.Path
|
app_module_path: pathlib.Path
|
||||||
app_module: Optional[types.ModuleType] = None
|
app_module: Optional[types.ModuleType] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user