-
Notifications
You must be signed in to change notification settings - Fork 12
[BBS-145] Rewriting the mining schema class #155
Conversation
I think that's the first time the test fail on packaging tests. I hope it's a Travis glitch. |
"display_name": "BBS-BBG", | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "devel" | ||
"name": "python3" |
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.
Personally I do not care, but did we not have a policy of git checkout -p
of these irrelevant changes?
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.
Ah, I must have missed that policy discussion. How should we do it?
And yes, I'm also annoyed by the diffs of the notebook.
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.
I vaguely remember that @FrancescoCasalegno pointed this out for some of our previous PRs.
There seems to be some scripts that take out the output + metadata automatically, for example
jupyter/nbconvert#805
@@ -1129,7 +1116,7 @@ | |||
"name": "python", | |||
"nbconvert_exporter": "python", | |||
"pygments_lexer": "ipython3", | |||
"version": "3.7.4" | |||
"version": "3.6.10" |
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.
Same as above
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.
LGTM! I just found a small typo. 😄
As noted in [BBS-145] we use the
dataclass
decorator for theSchemaRequest
class, but these appeared in the standard library only in python 3.7. The reason that our tests didn't fail before is because we were lucky that some of our dependencies installed thedataclasses
backport for python 3.6The
SchemaRequest
class was replaces by a new class,MiningSchema
, that offers a robust and user-friendly interface.