# Coverage for wire/model.py : 100%

## 15 statements 15 run 0 missing 0 excluded 0 partial

Hot-keys on this page

r m x p toggle line displays

j k next/prev highlighted chunk

0 (zero) top of page

1 (one) first highlighted chunk

1# -*- coding: utf-8 -*-

2

3# -- stdlib --

4 from typing import Any, Dict, List

5

6# -- third party --

7 from mypy_extensions import TypedDict

8

9# -- own --

10

11

12# -- code --

13 class User(TypedDict):

14 uid: int

15 state: str

16

17

18 class Game(TypedDict):

19 gid: int

20 type: str

21 name: str

22 started: bool

23 online: int

24

25

26 class GameDetail(Game):

27 users: List[User]

28 params: Dict[str, Any]

29 items: Dict[int, List[str]]