Shay
03bccd542b
Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675)
* add class UnpersistedEventContext
* modify create new client event to create unpersistedeventcontexts
* persist event contexts after creation
* fix tests to persist unpersisted event contexts
* cleanup
* misc lints + cleanup
* changelog + fix comments
* lints
* fix batch insertion?
* reduce redundant calculation
* add unpersisted event classes
* rework compute_event_context, split into function that returns unpersisted event context and then persists it
* use calculate_context_info to create unpersisted event contexts
* update typing
* $%#^&*
* black
* fix comments and consolidate classes, use attr.s for class
* requested changes
* lint
* requested changes
* requested changes
* refactor to be stupidly explicit
* clearer renaming and flow
* make partial state non-optional
* update docstrings
---------
Co-authored-by: Erik Johnston <erik@matrix.org>
2023-02-09 13:05:02 -08:00
..
2023-02-01 15:45:10 -05:00
2022-12-09 12:36:32 -05:00
2014-08-12 15:10:52 +01:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-03-21 09:43:16 -04:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-12 13:55:23 +00:00
2023-01-31 11:03:55 +00:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2023-01-12 10:52:07 +00:00
2022-12-09 12:36:32 -05:00
2023-01-20 18:02:18 +00:00
2022-12-09 12:36:32 -05:00
2022-02-28 07:12:29 -05:00
2022-12-09 12:36:32 -05:00
2022-02-28 07:12:29 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2023-02-09 13:05:02 -08:00
2022-09-29 15:23:24 +02:00
2022-10-14 18:05:25 +00:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-08-30 09:58:38 +00:00
2023-02-09 13:05:02 -08:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-12-09 12:36:32 -05:00
2022-03-23 10:23:05 -07:00
2023-01-26 10:15:50 +00:00