-
-
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
move root clazz lookup to a separate method #1090
Conversation
a663972
to
66a576b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1090 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 115 115
Lines 9276 9279 +3
Branches 1417 1417
=========================================
+ Hits 9276 9279 +3 ☔ View full report in Codecov by Sentry. |
…tend it by subclassing
66a576b
to
7dad91b
Compare
""" | ||
Obtain the root clazz, maybe from the provided clazz. | ||
|
||
:param clazz: Root class type, if it's missing look for any |
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.
Please use google style docstrings
Quality Gate passedIssues Measures |
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.
Thanks @leo-b
As described in #767, I need some kind of dynamic hook to determine the class of the root element.
My PR #766 got rejected, my next approach is to simply move the root clazz lookup code to a separate method in order to be able to extend it by subclassing.