Method
__init__
(
self: Enum[G],
values: t.Sequence[G],
default_value: G | Sentinel = ...,
allow_none: Literal[False] = ...,
read_only: bool | None = ...,
help: str | None = ...,
config: t.Any = ...,
**kwargs: t.Any,
)
Source from the content-addressed store, hash-verified
| 3192 | |
| 3193 | @t.overload |
| 3194 | def __init__( |
| 3195 | self: Enum[G], |
| 3196 | values: t.Sequence[G], |
| 3197 | default_value: G | Sentinel = ..., |
| 3198 | allow_none: Literal[False] = ..., |
| 3199 | read_only: bool | None = ..., |
| 3200 | help: str | None = ..., |
| 3201 | config: t.Any = ..., |
| 3202 | **kwargs: t.Any, |
| 3203 | ) -> None: |
| 3204 | ... |
| 3205 | |
| 3206 | @t.overload |
| 3207 | def __init__( |
Callers
nothing calls this directly
Tested by
no test coverage detected