File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/fastapi_cloud_cli/commands Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import json
22import logging
3+ from collections .abc import Generator
34from datetime import datetime
45from pathlib import Path
5- from typing import Dict , Generator , Optional , Union
6+ from typing import Annotated , Optional
67
78import typer
89from httpx import HTTPError , HTTPStatusError , ReadTimeout
910from pydantic import BaseModel , ValidationError
10- from typing_extensions import Annotated
1111
1212from fastapi_cloud_cli .utils .api import APIClient
1313from fastapi_cloud_cli .utils .apps import get_app_config
@@ -30,7 +30,7 @@ def _stream_logs(
3030 follow : bool ,
3131) -> Generator [str , None , None ]:
3232 """Stream logs from the API."""
33- params : Dict [str , Union [ str , int , bool ] ] = {
33+ params : dict [str , str | int | bool ] = {
3434 "tail" : tail ,
3535 "since" : since ,
3636 "follow" : follow ,
You can’t perform that action at this time.
0 commit comments