Skip to content

libflux/python: convenience function to read stdio  #4854

@chu11

Description

@chu11

@ofaaland mentioned in a chat that it'd be nice to be able to read stdio from the KVS from a python function, vs flux job attach. To my knowledge, we do not have any convenience functions to handle the reading from the KVS and parsing the eventlog format. flux job attach just reads from the KVS directly.

flux job attach handles many corner cases, like if the job hasn't started. Conceptually perhaps a convenience function doesn't have to do that, just read the data that exists in the KVS and just error if its not there / job not started yet.

Dunno if we should have a C function as well,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions