diff --git a/robusta_krr/core/models/result.py b/robusta_krr/core/models/result.py index 285658a..827f869 100644 --- a/robusta_krr/core/models/result.py +++ b/robusta_krr/core/models/result.py @@ -17,8 +17,8 @@ class Recommendation(pd.BaseModel): class ResourceRecommendation(pd.BaseModel): - requests: dict[ResourceType, RecommendationValue | Recommendation] - limits: dict[ResourceType, RecommendationValue | Recommendation] + requests: dict[ResourceType, Union[RecommendationValue, Recommendation]] + limits: dict[ResourceType, Union[RecommendationValue, Recommendation]] info: dict[ResourceType, Optional[str]] diff --git a/robusta_krr/main.py b/robusta_krr/main.py index 9ac8666..a1929f6 100644 --- a/robusta_krr/main.py +++ b/robusta_krr/main.py @@ -228,7 +228,7 @@ def run_strategy( ), show_severity: bool = typer.Option( True, - "--show-severity", + " /--exclude-severity", help="Whether to include the severity in the output or not", rich_help_panel="Output Settings", ),