Skip to content

Commit 3848d51

Browse files
committed
Update imports
1 parent 5e4cd37 commit 3848d51

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

codingame/types/clash_of_code.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
Typings for the `ClashOfCode/` endpoints of the CodinGame API.
55
"""
66

7-
from typing import List, Optional
8-
9-
try:
10-
from typing import Literal, TypedDict
11-
except ImportError:
12-
from typing_extensions import Literal, TypedDict
7+
from typing import List, Literal, Optional, TypedDict
138

149
__all__ = (
1510
"ClashOfCode",

codingame/types/codingamer.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
Typings for the `CodinGamer/` endpoints of the CodinGame API.
55
"""
66

7-
from typing import Dict, List, Optional
8-
9-
try:
10-
from typing import Literal, TypedDict
11-
except ImportError:
12-
from typing_extensions import Literal, TypedDict
7+
from typing import Dict, List, Literal, Optional, TypedDict
138

149
__all__ = (
1510
"PartialCodinGamer",

0 commit comments

Comments
 (0)