Skip to content

Commit f0c696a

Browse files
committed
Fix failing ci
1 parent 040dbf6 commit f0c696a

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

src/betterproto/enum.py

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
from __future__ import annotations
22

33
import sys
4+
from collections.abc import (
5+
Generator,
6+
Mapping,
7+
)
48
from enum import (
59
EnumMeta,
610
IntEnum,
@@ -12,17 +16,10 @@
1216
cast,
1317
)
1418

15-
16-
if TYPE_CHECKING:
17-
from collections.abc import (
18-
Generator,
19-
Mapping,
20-
)
21-
22-
from typing_extensions import (
23-
Never,
24-
Self,
25-
)
19+
from typing_extensions import (
20+
Never,
21+
Self,
22+
)
2623

2724

2825
def _is_descriptor(obj: object) -> bool:

0 commit comments

Comments
 (0)