File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/python/src/envoic Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2121)
2222from .models import (
2323 ArtifactInfo ,
24+ ArtifactSummary ,
2425 EnvInfo ,
2526 EnvType ,
2627 SafetyLevel ,
@@ -293,7 +294,7 @@ def manage(
293294 )
294295
295296 selected_envs : list [EnvInfo ] = []
296- selected_artifact_groups = []
297+ selected_artifact_groups : list [ ArtifactSummary ] = []
297298 artifact_groups = summarize_with_empty_patterns (result .artifacts )
298299 while True :
299300 selected_envs , selected_artifact_groups = interactive_select_with_artifacts (
@@ -365,8 +366,9 @@ def clean(
365366 raise typer .Exit (0 )
366367
367368 typer .echo (f"Found { len (selected )} stale environments." )
369+ selected_items : list [EnvInfo | ArtifactInfo ] = [* selected ]
368370 _confirm_and_delete (
369- selected ,
371+ selected_items ,
370372 scan_root = result .scan_path ,
371373 initial_total = len (result .environments ),
372374 dry_run = dry_run ,
You can’t perform that action at this time.
0 commit comments