[ENG-4130] Disable typer/rich integration appropriately (#4412)
The `rich` module should be set to `None`, indicating that rich should not be used. Setting it to `False` worked before, but recently added code in typer fails when checking `if rich is not None`. ref: https://github.com/fastapi/typer/pull/847
This commit is contained in:
parent
681b616000
commit
4571524e1c
@ -20,7 +20,7 @@ from reflex.state import reset_disk_state_manager
|
|||||||
from reflex.utils import console, redir, telemetry
|
from reflex.utils import console, redir, telemetry
|
||||||
|
|
||||||
# Disable typer+rich integration for help panels
|
# Disable typer+rich integration for help panels
|
||||||
typer.core.rich = False # type: ignore
|
typer.core.rich = None # type: ignore
|
||||||
|
|
||||||
# Create the app.
|
# Create the app.
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user