Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add type hints to synapse/storage/databases/main/events_worker.py #11411

Merged
merged 15 commits into from
Nov 26, 2021

Commits on Nov 22, 2021

  1. Add docstrings to AbstractStreamIdGenerator methods

    Sean Quah committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    9f409cb View commit details
    Browse the repository at this point in the history
  2. Create AbstractStreamIdTracker base class

    And 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 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    2ce1c29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6122b30 View commit details
    Browse the repository at this point in the history
  4. Remove duplicate _EventCacheEntry definition

    Sean Quah committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    a1c5c48 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c463c9d View commit details
    Browse the repository at this point in the history
  6. 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 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    ba8af67 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6cf127b View commit details
    Browse the repository at this point in the history
  8. get_events_as_list needs a Collection

    Sean Quah committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    de0585a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5de79f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Add newsfile

    Sean Quah committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    9bac798 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Address PR feedback

    Sean Quah committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    b40e5c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Improve IdGenerator docstrings

    Sean Quah committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    50742a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Configuration menu
    Copy the full SHA
    b4dbe02 View commit details
    Browse the repository at this point in the history
  2. Fix typo in docstring

    Sean Quah committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    ad514de View commit details
    Browse the repository at this point in the history
  3. Fix merge

    Sean Quah committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    87fe9c6 View commit details
    Browse the repository at this point in the history