This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add type hints to synapse/storage/databases/main/events_worker.py
#11411
Merged
Commits on Nov 22, 2021
-
Add docstrings to
AbstractStreamIdGenerator
methodsSean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for 9f409cb - Browse repository at this point
Copy the full SHA 9f409cbView commit details -
Create
AbstractStreamIdTracker
base classAnd add a dummy `advance` method to `StreamIdGenerator`. Note that this is no worse than what would currently happen if `advance` were to be called on `StreamIdGenerator`.
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for 2ce1c29 - Browse repository at this point
Copy the full SHA 2ce1c29View commit details -
Make
_push_rules_stream_id_gen
anAbstractStreamIdTracker
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for 6122b30 - Browse repository at this point
Copy the full SHA 6122b30View commit details -
Remove duplicate
_EventCacheEntry
definitionSean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for a1c5c48 - Browse repository at this point
Copy the full SHA a1c5c48View commit details -
Fix type hints for
SQLBaseStore.process_replication_rows
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for c463c9d - Browse repository at this point
Copy the full SHA c463c9dView commit details -
Fix tpye hint for
_EventRow.room_version_id
`room_version_id` comes from the `rooms` table, where it is a string instead of an int.
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for ba8af67 - Browse repository at this point
Copy the full SHA ba8af67View commit details -
_enqueue_events
needs aCollection
since it useslen()
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for 6cf127b - Browse repository at this point
Copy the full SHA 6cf127bView commit details -
get_events_as_list
needs aCollection
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for de0585a - Browse repository at this point
Copy the full SHA de0585aView commit details -
Add type hints to
synapse/storage/databases/main/events_worker.py
Sean Quah committedNov 22, 2021 Configuration menu - View commit details
-
Copy full SHA for 5de79f1 - Browse repository at this point
Copy the full SHA 5de79f1View commit details
Commits on Nov 23, 2021
-
Sean Quah committed
Nov 23, 2021 Configuration menu - View commit details
-
Copy full SHA for 9bac798 - Browse repository at this point
Copy the full SHA 9bac798View commit details
Commits on Nov 24, 2021
-
Sean Quah committed
Nov 24, 2021 Configuration menu - View commit details
-
Copy full SHA for b40e5c4 - Browse repository at this point
Copy the full SHA b40e5c4View commit details
Commits on Nov 25, 2021
-
Improve IdGenerator docstrings
Sean Quah committedNov 25, 2021 Configuration menu - View commit details
-
Copy full SHA for 50742a0 - Browse repository at this point
Copy the full SHA 50742a0View commit details
Commits on Nov 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b4dbe02 - Browse repository at this point
Copy the full SHA b4dbe02View commit details -
Sean Quah committed
Nov 26, 2021 Configuration menu - View commit details
-
Copy full SHA for ad514de - Browse repository at this point
Copy the full SHA ad514deView commit details -
Sean Quah committed
Nov 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 87fe9c6 - Browse repository at this point
Copy the full SHA 87fe9c6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.