Skip to content

Commit

Permalink
Merge pull request #396 from garlick/rfc21_jobspec_update
Browse files Browse the repository at this point in the history
rfc21: allow jobspec-update to any key
  • Loading branch information
mergify[bot] authored Aug 31, 2023
2 parents 4482154 + 59a74fc commit 3e4a91a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec_21.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,11 @@ The ``submit`` event SHALL be the first event posted for each job.
Jobspec-update Event
^^^^^^^^^^^^^^^^^^^^

Set jobspec attributes after job submission. The event context object SHALL
consist of a dictionary of period-delimited keys beginning with ``attributes.``
and MUST contain at least one entry.
Change jobspec after job submission. The event context object SHALL consist
of a dictionary of period-delimited keys that SHALL be interpreted as a
hierarchical JSON path. The dictionary MUST contain at least one entry.
If the key already exists in the jobspec object, the old value SHALL be
replaced with the new value.

Example:

Expand Down

0 comments on commit 3e4a91a

Please sign in to comment.