mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-28 21:49:28 -04:00
Add type hints to synapse/storage/databases/main/e2e_room_keys.py
(#11549)
This commit is contained in:
parent
0147b3de20
commit
ecfcd9bbbe
6 changed files with 188 additions and 79 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue