-
Notifications
You must be signed in to change notification settings - Fork 198
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
Remove superfluous _validate from Data node #5089
Conversation
1d392aa
to
43523cf
Compare
Codecov Report
@@ Coverage Diff @@
## develop #5089 +/- ##
===========================================
- Coverage 80.71% 80.71% -0.00%
===========================================
Files 534 534
Lines 36967 36966 -1
===========================================
- Hits 29835 29834 -1
Misses 7132 7132
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
43523cf
to
6020005
Compare
The Data nodeclass overwrote the `_validate` function but (a) did no validation (b) included commented code that referenced a private git repository (c) returned `None` instead of `True`. The outcommented code involved validation of the `source` attribute and the referenced issue pointed out that the value of this attribute was not officially standardized (potentially leading users to using it in different ways). Since there has not been validation of this field since 2015, it seems safe to assume that it cannot be easily reintroduced at this point.
6020005
to
67dab0f
Compare
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.
Hey @ltalirz ! Just one little comment but other than that this looks good to go for me, ping me if you need final approval once you rebase/update.
Co-authored-by: Francisco Ramirez <ramirezfranciscof@users.noreply.github.com>
thanks, done! |
Mmm strange i thought that would fix the CI doc problem. Do you understand what is wrong with this? I'll try compiling the docs locally. |
Co-authored-by: Francisco Ramirez <ramirezfranciscof@users.noreply.github.com>
thanks a lot! |
sure, please go ahead! |
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.
All good gogogo =P
The Data nodeclass overwrote the
_validate
function but(a) did no validation
(b) included commented code that referenced a private git repository
(c) returned
None
instead ofTrue
.The outcommented code involved validation of the
source
attribute andthe referenced issue pointed out that the value of this attribute was
not officially standardized (potentially leading users to using it in
different ways).
Since there has not been validation of this field since 2015, it seems
safe to assume that it cannot be easily reintroduced at this point.