Function enum_kind
fn enum_kind(
value: &Bound<'_, PyAny>,
dotted: &str,
) -> Result<MemberKind, Error>Expand description
Reads an enum class’s mixin type and its members.
The values are rendered with Python’s repr, which is what a stub writes for
a literal default anywhere else in this file, and literal then refuses
anything that is not a plain literal — so an enum over some non-literal value
stops the run instead of putting an address in a committed file.