Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF-3591] Remove chakra-related files from immutable vars PR #3821

Merged
merged 18 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix appharness app_source typing (#3777)
  • Loading branch information
benedikt-bartscher authored Aug 12, 2024
commit b58ce1082eef49d5c3dc49cfe9948def1f21cfc3
6 changes: 4 additions & 2 deletions reflex/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class AppHarness:

app_name: str
app_source: Optional[
types.FunctionType | types.ModuleType | str | functools.partial
types.FunctionType | types.ModuleType | str | functools.partial[Any]
]
app_path: pathlib.Path
app_module_path: pathlib.Path
Expand All @@ -134,7 +134,9 @@ class AppHarness:
def create(
cls,
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,
) -> "AppHarness":
"""Create an AppHarness instance at root.
Expand Down
Loading