mockslurm.process_db.update_db_value

mockslurm.process_db.update_db_value(db_file: File, index: int, key: str, value: Any)[source]

Update the value of key in the database, at index

Parameters:
  • db_file (h5py.File) – Opened file handle to the database HDF5 file

  • index (int) – Index of the row to update

  • key (str) – Field to update

  • value (Any) – New value for the field