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
..
2022-10-03 13:26:49 +00:00
2021-04-14 15:34:27 +01:00
2023-02-01 21:35:24 +00:00
2022-05-09 12:31:14 +01:00
2022-03-24 11:19:41 +01:00
2023-02-01 15:45:19 +00:00
2022-12-06 09:52:55 +00:00
2022-12-16 11:53:01 +00:00
2022-10-03 13:26:49 +00:00
2022-11-22 14:08:04 -05:00
2023-02-03 15:39:59 +00:00
2023-01-10 11:17:59 +00:00
2023-02-09 15:56:02 +00:00
2023-01-10 11:17:59 +00:00
2022-11-16 15:25:24 +00:00
2023-01-26 12:31:58 -05:00
2022-08-24 14:13:12 -05:00
2023-02-09 13:05:02 -08:00
2023-02-09 13:05:02 -08:00
2022-11-16 15:25:24 +00:00
2023-01-27 07:27:55 -05:00
2023-02-09 13:05:02 -08:00
2023-01-04 14:58:08 -05:00
2023-01-27 07:27:55 -05:00
2021-09-23 07:13:34 -04:00
2023-01-25 21:34:37 +00:00
2022-10-26 15:51:23 +01:00
2022-09-20 12:10:31 +01:00
2022-04-05 15:43:52 +01:00
2023-02-01 21:35:24 +00:00
2022-12-12 16:19:30 +00:00
2023-01-27 07:27:55 -05:00
2022-12-15 16:04:23 +00:00
2022-07-27 19:46:57 +01:00
2021-06-09 19:39:51 +01:00
2022-12-15 16:04:23 +00:00
2023-01-26 12:31:58 -05:00
2023-02-09 09:49:04 -05:00
2022-11-16 15:25:24 +00:00
2023-01-26 12:31:58 -05:00
2022-09-30 13:23:37 +00:00
2022-11-22 14:08:04 -05:00
2023-01-26 12:31:58 -05:00
2022-02-23 11:04:02 +00:00
2022-06-29 17:12:45 +00:00
2023-02-02 13:45:12 -05:00
2022-12-05 15:19:14 -05:00
2022-09-30 14:40:18 -05:00