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.client_ips #10972

Merged
merged 7 commits into from
Oct 12, 2021

Commits on Oct 1, 2021

  1. Configuration menu
    Copy the full SHA
    80c73c2 View commit details
    Browse the repository at this point in the history
  2. Fix inconsistent behavior of get_last_client_by_ip

    Make `get_last_client_by_ip` return the same dictionary structure
    regardless of whether the data has been persisted to the database.
    
    This change will allow slightly cleaner type hints to be applied later
    on.
    Sean Quah committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    cf20c86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    744756d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Use classy TypedDicts and give them better names

    Sean Quah committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    b452f8b View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Configuration menu
    Copy the full SHA
    7637353 View commit details
    Browse the repository at this point in the history
  2. Clean up diff for tests/storage/test_client_ips.py

    Sean Quah committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    519bb6b View commit details
    Browse the repository at this point in the history
  3. Clean up diff

    Sean Quah committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    0acd03f View commit details
    Browse the repository at this point in the history