We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911c2af commit b58ce10Copy full SHA for b58ce10
reflex/testing.py
@@ -115,7 +115,7 @@ class AppHarness:
115
116
app_name: str
117
app_source: Optional[
118
- types.FunctionType | types.ModuleType | str | functools.partial
+ types.FunctionType | types.ModuleType | str | functools.partial[Any]
119
]
120
app_path: pathlib.Path
121
app_module_path: pathlib.Path
@@ -134,7 +134,9 @@ class AppHarness:
134
def create(
135
cls,
136
root: pathlib.Path,
137
- app_source: Optional[types.FunctionType | types.ModuleType | str] = None,
+ app_source: Optional[
138
139
+ ] = None,
140
app_name: Optional[str] = None,
141
) -> "AppHarness":
142
"""Create an AppHarness instance at root.
0 commit comments