You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@noliveleger if there are more points that I've missed, please edit this description to add them 🙂
(1)
Our coding habits have changed since my last review:
We are now used to import from __future__ import annotations. def extend_survey(self, analysis_form: dict) -> None:
and dict[str, str] should work too.
Let's use the import then and change Dict to dict Originally posted by @noliveleger in MVP: Handle extra fields to export #278 (comment)
item=re.sub(r'^_supplementalDetails/', '', item)
# use explicit names for variable below.# `_` is dummy content, we don't use it and we don't caretry:
my_variable, *_, last_variable=item.split('/')
*_, my_other_variable=item.split('_')
exceptValueError:
last_variable=Noneiflast_variableandlast_variable.startswith('transcript'):
self.t_lang_codes.append(my_other_variable)
_filter_fields.append(f"{my_variable}/transcript")
else:
_filter_fields.append(item)
@noliveleger if there are more points that I've missed, please edit this description to add them 🙂
(1)
(2)
The
if label is None
concern is now tracked by #307The text was updated successfully, but these errors were encountered: