(
cls,
*,
type_key: str | None = None,
frozen: bool = True,
init: bool = True,
repr: bool = True,
**kwargs: Any,
)
| 677 | value: int |
| 678 | |
| 679 | def __init_subclass__( |
| 680 | cls, |
| 681 | *, |
| 682 | type_key: str | None = None, |
| 683 | frozen: bool = True, |
| 684 | init: bool = True, |
| 685 | repr: bool = True, |
| 686 | **kwargs: Any, |
| 687 | ) -> None: |
| 688 | _prepare_payload_enum_subclass(cls, value_type=int, base_name="IntEnum") |
| 689 | super().__init_subclass__( |
| 690 | type_key=type_key, |
| 691 | frozen=frozen, |
| 692 | init=init, |
| 693 | repr=repr, |
| 694 | **kwargs, |
| 695 | ) |
| 696 | |
| 697 | |
| 698 | class StrEnum(Enum): |
nothing calls this directly
no test coverage detected