-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor uses of job._statepoint to job.statepoint. * Implement lazy loading of statepoints. * Use cheaper condition for determining if the job id exists. * Fix flake8. * Validate that the state point manifest hash matches the job id when loading the state point lazily. * Added changelog line. * Add explicit benchmark for iterating and loading state point. Since the new code path does not cover that path anymore. * Use _sp_cache to cache list of known valid job ids. * Deregister jobs from the statepoint cache when they are removed from the project. * Fix issues with registration/deregistration. * Update comment. * Remove deregistration logic. * Add comment explaining behavior of Project._sp_cache. * Update docstrings and deprecated methods. * Update changelog. * Revise implementation details and docstrings. * Update docstrings to use state point. * Update comment. * Update _register method. * Use job.id instead of job._id and job_id instead of jobid (excluding cases that would change public APIs). * Use descriptive variable names and comments. * Use descriptive variable names. * Improve cache registration behavior and comments. * Remove extra blank lines. * Improve cache filling behavior. * Revert project._sp_cache so it is not pre-populated with None values. It doesn't provide a benefit to do so. * Add test of error when opening without a state point or job id. * improve wording of docstring of FN_MANIFEST * Fix documentation issues. * Update docstrings and comments. Co-authored-by: Carl Simon Adorf <[email protected]> Co-authored-by: Corwin Kerr <[email protected]>
- Loading branch information
1 parent
c1cf74e
commit fd14f48
Showing
5 changed files
with
179 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.