-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate Parsec ItemNotFoundError into two #4471
Conversation
ItemNotFoundError - Where an item could be defined, but isn't (in sparse mode). NotAConfigItemError - Where an item is not part of a config to be defined. move get_manyparents to init create unit test for get_manyparents fix mypy issue
Co-authored-by: Oliver Sanders <oliver.sanders@metoffice.gov.uk>
Co-authored-by: Oliver Sanders <oliver.sanders@metoffice.gov.uk>
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
I've also thought of a way to simplify the logic - opened a PR against this one at wxtim#32 |
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
* 'config.fix' of github.com:wxtim/cylc: (71 commits) Apply suggestions from code review Tweak TUI job prep state icon. Reduce test flakiness on MacOS Fix logging of task state transistion to "preparing". Fix datastore job "preparing" state. Fix TUI job "preparing" state. Fix spelling error. Func test fix. Style fix. Workflow config doc refinements (cylc#4475) Update cylc/flow/cfgspec/workflow.py Fix two func tests, and a typo. Remove CYLC_WORKFLOW_DEF_PATH Address review feedback (tweak some docstrings). Update cylc/flow/task_pool.py Post rebase fix. Set flow counter from DB. Fix a func test post rebase. Fix cylc poll CLI doc. Add nosec comment. ...
Rebased wxtim#32 on latest changes |
(Still waiting for outcome of wxtim#32) |
Simplify `ParsecConfig.get()`
Sorry, missed that you'd not made the changes directly to the branch but had created a PR to PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy assuming tests pass
Before
ItemNotFoundError was returned if
After
ItemNotFoundError - Where an item could be defined, but isn't (in sparse mode).
NotAConfigItemError - Where an item is not part of a config to be defined.
These changes close #4187
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.py
andconda-environment.yml
.