Add type hints to synapse/storage/databases/main/e2e_room_keys.py (#11549)

This commit is contained in:
Sean Quah 2021-12-14 17:46:47 +00:00 committed by GitHub
parent 0147b3de20
commit ecfcd9bbbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 188 additions and 79 deletions

View file

@ -12,10 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from synapse.storage.databases.main.e2e_room_keys import RoomKey
from tests import unittest
# sample room_key data for use in the tests
room_key = {
room_key: RoomKey = {
"first_message_index": 1,
"forwarded_count": 1,
"is_verified": False,