Skip to content

Commit 2a45ed7

Browse files
committed
python: support id.emoji in output formats
Problem: The Python job formatting class does not support id.emoji, even though emoji is valid jobid encoding. Add `id.emoji` to various dictionaries as required to support this encoding in output formats.
1 parent be5a75c commit 2a45ed7

File tree

1 file changed

+2
-0
lines changed
  • src/bindings/python/flux/job

1 file changed

+2
-0
lines changed

src/bindings/python/flux/job/info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ def job_fields_to_attrs(fields):
605605
"id.dec": (),
606606
"id.hex": (),
607607
"id.f58": (),
608+
"id.emoji": (),
608609
"id.kvs": (),
609610
"id.words": (),
610611
"id.dothex": (),
@@ -697,6 +698,7 @@ class JobInfoFormat(flux.util.OutputFormat):
697698
"id.dec": "JOBID",
698699
"id.hex": "JOBID",
699700
"id.f58": "JOBID",
701+
"id.emoji": "JOBID",
700702
"id.kvs": "JOBID",
701703
"id.words": "JOBID",
702704
"id.dothex": "JOBID",

0 commit comments

Comments
 (0)