Skip to content

Commit

Permalink
python: add missing options to mutable arguments
Browse files Browse the repository at this point in the history
Problem: The Xcmd class that implements option argument mutability
in flux-bulksubmit(1) has a manual list of mutable options that is
missing some useful options.

Update the list to include some missing options, like --cwd=,
--signal=, --taskmap=, and --begin-time=.

Fixes flux-framework#6295
  • Loading branch information
grondo committed Sep 24, 2024
1 parent 7efc1a0 commit 0b0f652
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bindings/python/flux/cli/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ class Xcmd:
"time_limit": "-t",
"env": "--env=",
"env_file": "--env-file=",
"env_remove": "--env-remove=",
"urgency": "--urgency=",
"setopt": "-o ",
"setattr": "--setattr=",
Expand All @@ -532,6 +533,11 @@ class Xcmd:
"taskmap": "--taskmap=",
"requires": "--requires=",
"wait": "--wait-event=",
"cwd": "--cwd=",
"flags": "--flags=",
"begin_time": "--begin-time=",
"signal": "--signal=",
"taskmap": "--taskmap=",
}

class Xinput:
Expand Down

0 comments on commit 0b0f652

Please sign in to comment.