Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
322d275
Add job rm command
CSharplie Oct 28, 2025
eb82b60
Add job rm command documentation
CSharplie Oct 28, 2025
3aac586
Add confirmation before deleting and "--force" parameter
CSharplie Nov 5, 2025
64e65fd
use utils_ui alias
CSharplie Nov 5, 2025
661f13d
Print warning to delete and in progress message
CSharplie Nov 5, 2025
70d1177
Add job run-rm subcommand
CSharplie Nov 5, 2025
3807b0e
Remove unnecessary error block
CSharplie Nov 6, 2025
4896042
Add job run-rm tests
CSharplie Nov 6, 2025
b183abb
Add single quotes to success message
CSharplie Nov 10, 2025
28e3b51
Add missing dot to warning message
CSharplie Nov 10, 2025
91edf26
Fix --id documentation
CSharplie Nov 10, 2025
34f891c
Rename and refactor test
CSharplie Nov 10, 2025
739f8b9
Add without --force tests
CSharplie Nov 10, 2025
8c4afcc
Fix comments
CSharplie Nov 10, 2025
eb9e6c3
Merge branch 'main' of https://github.com/CSharplie/fabric-cli
CSharplie Nov 10, 2025
e52f036
Enhancement of test_run_schedule_rm_success parametrization
CSharplie Nov 11, 2025
f61e378
Fix warning message in assert
CSharplie Nov 11, 2025
3a26792
add changie entry
CSharplie Nov 11, 2025
dad906a
Align with changelog
CSharplie Nov 12, 2025
f0d4ea6
Remove old cassettes
CSharplie Nov 12, 2025
07ba36a
Merge branch 'main' of https://github.com/CSharplie/fabric-cli
CSharplie Nov 12, 2025
e06ec7e
Use temp folder to update file
CSharplie Nov 23, 2025
40322f8
Use mock value for owner
CSharplie Nov 23, 2025
d84f5dd
use tmp_path fixture
CSharplie Nov 26, 2025
5d43e48
Merge branch 'main' into main
ayeshurun Nov 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions src/fabric_cli/commands/jobs/fab_jobs_run_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,4 @@ def exec_command(args: Namespace, context: Item) -> None:
utils_ui.print_output_format(
args,
message=f"Job schedule {args.schedule_id} removed",
)
else:
try:
content = json.loads(response.text)
error_message = content.get("error", {}).get("message", "")
except json.JSONDecodeError:
error_message = response.text

raise FabricCLIError(
f"Failed to remove job schedule {args.schedule_id}: {error_message}",
fab_constant.ERROR_API_FAILURE,
)
Loading