Skip to content

Allow db job modification and bug fixes#297

Merged
tazend merged 2 commits intoPySlurm:mainfrom
tazend:allow-db-job-modify
May 27, 2023
Merged

Allow db job modification and bug fixes#297
tazend merged 2 commits intoPySlurm:mainfrom
tazend:allow-db-job-modify

Conversation

@tazend
Copy link
Copy Markdown
Member

@tazend tazend commented May 27, 2023

Added

  • Ability to modify Database Jobs
  • New attributes for a Database Job:
    • extra
    • failed_node
  • Now possible to initialize a pyslurm.db.Jobs collection with existing job
    ids or pyslurm.db.Job objects

Fixes

  • Fixes a problem that prevented loading specific Jobs from the Database if
    the following two conditions were met:
    • no start/end time was specified
    • the Job was older than a day

Changes

  • create a _get_exit_code helper function to reduce duplicate code in various places when checking for exit-code or exit-signal of a Job or JobStep

@tazend tazend merged commit a84d23c into PySlurm:main May 27, 2023
@tazend tazend mentioned this pull request May 27, 2023
9 tasks
tazend added a commit that referenced this pull request Jul 19, 2023
- Ability to modify Database Jobs
- New attributes for a Database Job:
    - extra
    - failed_node
- Now possible to initialize a pyslurm.db.Jobs collection with existing job
  ids or pyslurm.db.Job objects

- Fixes a problem that prevented loading specific Jobs from the Database if
  the following two conditions were met:
    - no start/end time was specified
    - the Job was older than a day

- create a _get_exit_code helper function to reduce duplicate code in various places when checking for exit-code or exit-signal of a Job or JobStep
tazend added a commit that referenced this pull request Jul 19, 2023
- Ability to modify Database Jobs
- New attributes for a Database Job:
    - extra
    - failed_node
- Now possible to initialize a pyslurm.db.Jobs collection with existing job
  ids or pyslurm.db.Job objects

- Fixes a problem that prevented loading specific Jobs from the Database if
  the following two conditions were met:
    - no start/end time was specified
    - the Job was older than a day

- create a _get_exit_code helper function to reduce duplicate code in various places when checking for exit-code or exit-signal of a Job or JobStep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant