-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Avoid mypy error on adding newGraph from cache to graph #644
Conversation
As a sidenote,
|
Heh, a useful "broken" test file then :-P I'm torn about making the inability to resolve an external a failure or not |
Fixes: ``` gxformat2/schema/v19_09.py:167: error: Argument 1 to "__iadd__" of "Graph" has incompatible type "Union[str, Graph, bool]"; expected "Iterable[Tuple[Node, Node, Node]]" [arg-type] ``` and should also be a little more helpful when the external schema can't be parsed or fetched (not familiar with the code base, but isn't there a need to be more transparent about this??).
… loading invalid schema ref
Maybe something one could dispatch on with a |
Codecov Report
@@ Coverage Diff @@
## main #644 +/- ##
==========================================
+ Coverage 83.07% 83.09% +0.01%
==========================================
Files 22 22
Lines 4478 4483 +5
Branches 1238 1238
==========================================
+ Hits 3720 3725 +5
- Misses 487 488 +1
+ Partials 271 270 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thanks @mvdbeek ! |
Fixes:
and should also be a little more helpful when the external schema can't be parsed or fetched (not familiar with the code base, but isn't there a need to be more transparent about this??).