소스 검색

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

Masen Furer 1 년 전
부모
커밋
050dd3da92
3개의 변경된 파일139개의 추가작업 그리고 195개의 파일을 삭제
  1. 133 193
      poetry.lock
  2. 1 1
      pyproject.toml
  3. 5 1
      reflex/reflex.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 133 - 193
poetry.lock


+ 1 - 1
pyproject.toml

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

+ 5 - 1
reflex/reflex.py

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

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.