pyproject.toml: bump typer to 0.9.0 (#2068)

This commit is contained in:
Masen Furer 2023-11-01 12:15:24 -07:00 committed by GitHub
parent a1c39b9968
commit 050dd3da92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 143 additions and 209 deletions

344
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,7 @@ python-socketio = "^5.7.0"
redis = "^4.3.5" redis = "^4.3.5"
rich = "^13.0.0" rich = "^13.0.0"
sqlmodel = "^0.0.8" sqlmodel = "^0.0.8"
typer = "0.4.2" typer = ">=0.4.2,<1"
uvicorn = "^0.20.0" uvicorn = "^0.20.0"
watchdog = "^2.3.1" watchdog = "^2.3.1"
watchfiles = "^0.19.0" watchfiles = "^0.19.0"

View File

@ -14,6 +14,7 @@ from typing import List, Optional
import httpx import httpx
import typer import typer
import typer.core
from alembic.util.exc import CommandError from alembic.util.exc import CommandError
from tabulate import tabulate from tabulate import tabulate
@ -30,8 +31,11 @@ from reflex.utils import (
telemetry, telemetry,
) )
# Disable typer+rich integration for help panels
typer.core.rich = False # type: ignore
# Create the app. # Create the app.
cli = typer.Typer(add_completion=False) cli = typer.Typer(add_completion=False, pretty_exceptions_enable=False)
# Get the config. # Get the config.
config = get_config() config = get_config()