Post
If your options are just some strings, you can, and probably should, use StrEnum from the module enum. For integers, an IntEnum can do. For other types or a union of types, you’ll want to use Literal. Aaaand,
0 reposts0 likes
If your options are just some strings, you can, and probably should, use StrEnum from the module enum. For integers, an IntEnum can do. For other types or a union of types, you’ll want to use Literal. Aaaand,
0 reposts0 likes