mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-31 03:45:13 +00:00
This is some odds and ends found during the review of #11791 and while continuing to work in this code: * Return attrs classes instead of dictionaries from some methods to improve type safety. * Call `get_bundled_aggregations` fewer times. * Adds a missing assertion in the tests. * Do not return empty bundled aggregations for an event (preferring to not include the bundle at all, as the docstring states).
1 line
50 B
Text
1 line
50 B
Text
Improve type safety of bundled aggregations code.
|