Skip to content

Commit

Permalink
[ENG-4130] Disable typer/rich integration appropriately
Browse files Browse the repository at this point in the history
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: fastapi/typer#847
  • Loading branch information
masenf committed Nov 21, 2024
1 parent 842e111 commit e0fc32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/reflex.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from reflex.utils import console, redir, telemetry

# Disable typer+rich integration for help panels
typer.core.rich = False # type: ignore
typer.core.rich = None # type: ignore

# Create the app.
try:
Expand Down

0 comments on commit e0fc32a

Please sign in to comment.