|
@@ -115,7 +115,7 @@ class AppHarness:
|
|
|
|
|
|
app_name: str
|
|
app_name: str
|
|
app_source: Optional[
|
|
app_source: Optional[
|
|
- types.FunctionType | types.ModuleType | str | functools.partial
|
|
|
|
|
|
+ types.FunctionType | types.ModuleType | str | functools.partial[Any]
|
|
]
|
|
]
|
|
app_path: pathlib.Path
|
|
app_path: pathlib.Path
|
|
app_module_path: pathlib.Path
|
|
app_module_path: pathlib.Path
|
|
@@ -134,7 +134,9 @@ class AppHarness:
|
|
def create(
|
|
def create(
|
|
cls,
|
|
cls,
|
|
root: pathlib.Path,
|
|
root: pathlib.Path,
|
|
- app_source: Optional[types.FunctionType | types.ModuleType | str] = None,
|
|
|
|
|
|
+ app_source: Optional[
|
|
|
|
+ types.FunctionType | types.ModuleType | str | functools.partial[Any]
|
|
|
|
+ ] = None,
|
|
app_name: Optional[str] = None,
|
|
app_name: Optional[str] = None,
|
|
) -> "AppHarness":
|
|
) -> "AppHarness":
|
|
"""Create an AppHarness instance at root.
|
|
"""Create an AppHarness instance at root.
|