-
Notifications
You must be signed in to change notification settings - Fork 199
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
Render a root-cause exception for dependency and join errors #3717
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ce429bb
Print a root-cause exception for DependencyError
benclifford f1eaa9b
Merge branch 'master' into benc-dependency-error-rendering
benclifford c3e0cd8
Merge remote-tracking branch 'origin/master' into benc-dependency-err…
benclifford d81eea0
WIP, passes tests
benclifford c0866ee
add indication of other causes
benclifford e5131d7
a couple of type-driven refactors
benclifford e4f0059
fix a traversal bug
benclifford 0d70406
tidy up exception text a bit
benclifford 8f4825f
use type based detection of task record
benclifford f6654b0
bugfix use of generated task id string
benclifford 3dab4ea
fiddle docstring
benclifford 784d4fe
flesh out TODO for PR
benclifford e673d38
task ID is not optional - a datafuture is always from a parsl task
benclifford b73d745
render data future differently
benclifford 2421957
messing with types and docstrings of DataFuture
benclifford 69ce905
more docstring fiddling
benclifford 274f2ce
remove an accidentally introduced comment on merging from 2020
benclifford e975fdc
remove field that is unused
benclifford 8a7b5d8
remove an if typechecking, and fix resultant circular import
benclifford 007bfa2
remove another bad field
benclifford 97d3693
this should be a str, but I need to test where it appears to see if t…
benclifford 8e2b488
another repr that probably should be str
benclifford 70fd038
another repr
benclifford 7987c24
another repr - see #2025
benclifford 83552cb
exception text should not describe what it thinks is being done with …
benclifford 6558b69
bugfix
benclifford 76cb0ca
isort
benclifford d9d9f2a
Merge branch 'master' into benc-dependency-error-rendering
benclifford 066fce0
Merge remote-tracking branch 'origin/master' into benc-dependency-err…
benclifford 991d01e
Merge remote-tracking branch 'refs/remotes/origin/benc-dependency-err…
benclifford 4c027d4
Merge remote-tracking branch 'origin/master' into benc-dependency-err…
benclifford faf4795
revert import changes
benclifford e269929
Add tests that __cause__ is populated from the right exception
benclifford 26bf80f
Merge remote-tracking branch 'origin/master' into benc-dependency-err…
benclifford 1cd310d
flake8
benclifford File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The typing wasn't enough for Mypy? Heh.
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.
this came originally from catching real mis-usage of this exception in non-statically-checked parts of the code, where an integer was being passed in (the task id integer) rather than a string, and not being found. because it's deep inside a complex structure, typeguard can't do runtime checks either.