Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
moshemorad committed Nov 7, 2024
1 parent eeec23a commit 1b05167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions robusta_krr/core/models/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]


Expand Down
2 changes: 1 addition & 1 deletion robusta_krr/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
Expand Down

0 comments on commit 1b05167

Please sign in to comment.