We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040dbf6 commit f0c696aCopy full SHA for f0c696a
src/betterproto/enum.py
@@ -1,6 +1,10 @@
1
from __future__ import annotations
2
3
import sys
4
+from collections.abc import (
5
+ Generator,
6
+ Mapping,
7
+)
8
from enum import (
9
EnumMeta,
10
IntEnum,
@@ -12,17 +16,10 @@
12
16
cast,
13
17
)
14
18
15
-
-if TYPE_CHECKING:
- from collections.abc import (
- Generator,
19
- Mapping,
20
- )
21
22
- from typing_extensions import (
23
- Never,
24
- Self,
25
+from typing_extensions import (
+ Never,
+ Self,
26
27
28
def _is_descriptor(obj: object) -> bool:
0 commit comments