-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Make transform params stricter 2 #2177
Conversation
…ns_ferc1 class attribute in Ferc1TableTransformParams to match RenameColumnsFerc1 class
Codecov ReportBase: 85.5% // Head: 85.5% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev #2177 +/- ##
=======================================
- Coverage 85.5% 85.5% -0.1%
=======================================
Files 73 73
Lines 8883 8882 -1
=======================================
- Hits 7600 7599 -1
Misses 1283 1283
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Suggest that we remove the now redundant specification of extra = forbid in the Ferc1TableTransformParams class.
xbrl_instant=RenameColumns(), | ||
xbrl_duration=RenameColumns(), | ||
instant_xbrl=RenameColumns(), | ||
duration_xbrl=RenameColumns(), |
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.
Eeek, we had this inconsistency with all of the actual parameters and it didn't cause any problems? That's kind of amazing.
…ts from TransformParams where extra=forbid is already an attribute
Teeny tiny bb PR that adds the following code to the
TransformParams
class:And fixes a parameter name that was flip-flopped:
xbrl_instant
andxbrl_duration
were used as parameters in theFerc1TableTransformParams
class when the actual parameters defined inRenameColumnsFerc1
areinstant_xbrl
andduration_xbrl
. This PR flips them to reflect theRenameColumnsFerc1
definition.