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
Bug/keyerror href #168
Bug/keyerror href #168
Conversation
- add into options "tabindex" to togleButton - add into options "tabIndex" to transcript
-add property editable_fields
Codecov Report
@@ Coverage Diff @@
## dev #168 +/- ##
==========================================
- Coverage 69.77% 69.72% -0.06%
==========================================
Files 25 25
Lines 1489 1493 +4
Branches 9 9
==========================================
+ Hits 1039 1041 +2
- Misses 448 450 +2
Partials 2 2
Continue to review full report at Codecov.
|
|
||
Defaults to concatenation of `basic_fields` and `advanced_fields`. | ||
""" | ||
return tuple(itertools.chain(self.basic_fields, self.advanced_fields)) |
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.
What about tuple(set(self.basic_fields) | set(self.advanced_fields))
?
Without external libraries, more clear
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.
Well, this solution will require converting two tuples into sets. Althought, my bet is we're not going to notice a performance difference with the data we use.
As for readability, both options look similar to me.
Also, itertools is part of Python's stdlib.
No description provided.