Rapptz
4e04dbdec7
Add support for choice option parameters
...
This implements it in three different ways:
* The first is using typing.Literal for quick and easy ones
* The second is using enum.Enum for slightly more complex ones
* The last is using a Choice type hint with a decorator to pass
a list of choices.
This should hopefully cover most use cases.
2022-03-01 05:42:44 -05:00
..
2022-03-01 05:42:44 -05:00
2020-12-12 20:23:57 -05:00
2022-02-27 21:19:19 -05:00
2022-03-01 01:00:04 -05:00
2022-02-27 21:19:19 -05:00
2022-02-27 21:19:19 -05:00
2022-03-01 05:35:29 -05:00
2022-02-20 08:04:58 -05:00
2022-02-26 01:44:49 -05:00
2022-02-20 08:04:58 -05:00
2022-02-18 09:00:09 -05:00
2022-03-01 01:00:04 -05:00
2022-03-01 01:00:04 -05:00
2022-02-21 22:43:19 -05:00
2022-03-01 01:00:04 -05:00
2022-03-01 01:00:04 -05:00
2022-02-20 08:04:58 -05:00
2022-02-21 23:08:26 -05:00
2022-02-23 16:05:08 -05:00
2022-02-22 08:51:11 -05:00
2022-02-22 03:59:58 -05:00
2022-03-01 01:00:04 -05:00
2022-02-26 01:44:49 -05:00
2022-02-20 08:04:58 -05:00
2022-03-01 01:00:04 -05:00
2022-02-27 21:18:41 -05:00
2022-03-01 01:00:04 -05:00
2022-03-01 01:00:04 -05:00
2022-02-26 01:44:49 -05:00
2022-02-21 23:31:18 -05:00
2022-03-01 01:00:04 -05:00
2022-02-22 04:00:46 -05:00
2022-02-20 08:04:58 -05:00
2022-02-26 01:44:49 -05:00
2022-02-20 08:04:58 -05:00
2022-02-20 08:04:58 -05:00
2022-02-20 08:04:58 -05:00
2022-02-26 01:44:49 -05:00
2022-02-26 01:44:49 -05:00
2022-02-20 08:04:58 -05:00
2022-02-22 08:51:11 -05:00
2021-08-22 02:25:13 -04:00
2022-02-21 22:09:40 -05:00
2022-02-26 01:44:49 -05:00
2022-02-26 01:44:49 -05:00
2022-03-01 01:00:04 -05:00
2022-02-26 01:44:49 -05:00
2022-03-01 01:00:04 -05:00
2022-03-01 05:35:29 -05:00
2022-02-22 03:59:58 -05:00
2021-06-28 23:36:20 -04:00
2022-02-26 01:44:49 -05:00
2022-02-19 22:35:32 -05:00
2022-02-26 01:44:49 -05:00
2022-03-01 01:07:13 -05:00
2022-02-22 08:51:11 -05:00
2022-03-01 01:00:04 -05:00