Skip to content

Commit 1b05167

Browse files
committed
Some fixes
1 parent eeec23a commit 1b05167

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

robusta_krr/core/models/result.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class Recommendation(pd.BaseModel):
1717

1818

1919
class ResourceRecommendation(pd.BaseModel):
20-
requests: dict[ResourceType, RecommendationValue | Recommendation]
21-
limits: dict[ResourceType, RecommendationValue | Recommendation]
20+
requests: dict[ResourceType, Union[RecommendationValue, Recommendation]]
21+
limits: dict[ResourceType, Union[RecommendationValue, Recommendation]]
2222
info: dict[ResourceType, Optional[str]]
2323

2424

robusta_krr/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def run_strategy(
228228
),
229229
show_severity: bool = typer.Option(
230230
True,
231-
"--show-severity",
231+
" /--exclude-severity",
232232
help="Whether to include the severity in the output or not",
233233
rich_help_panel="Output Settings",
234234
),

0 commit comments

Comments
 (0)