mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Add type: ignore for chain.from_iterable.
This commit is contained in:
@@ -119,5 +119,5 @@ def activity_averages_between(begin, end, by_day=True):
|
||||
return dict((day, calculate_stats(values, all_users=users_to_measure))
|
||||
for day, values in six.iteritems(seconds_active))
|
||||
else:
|
||||
return calculate_stats(list(chain.from_iterable(seconds_active.values())),
|
||||
return calculate_stats(list(chain.from_iterable(seconds_active.values())), # type: ignore # chain.from_iterable needs overload
|
||||
all_users=users_to_measure)
|
||||
|
||||
Reference in New Issue
Block a user