Files
flatbuffers/tests
Felix dafd2f1f29 [Python] Render enums as Python IntEnum (#8145)
This allows enums to be type check with mypy.
They will still behave like ints ->
> IntEnum is the same as Enum,
> but its members are also integers and can be used anywhere
> that an integer can be used.
> If any integer operation is performed with an IntEnum member,
> the resulting value loses its enumeration status.
https://docs.python.org/3/library/enum.html#enum.IntEnum

Only if the --python-typing flag is set.
2024-06-03 08:39:14 -07:00
..
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2023-05-11 18:14:27 -07:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2022-10-21 14:30:04 -04:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2022-08-28 16:54:58 -07:00
2023-05-11 18:14:27 -07:00
2022-08-28 16:54:58 -07:00
2022-08-28 16:54:58 -07:00
2023-05-11 18:14:27 -07:00
2023-09-17 10:21:58 -07:00
2023-09-29 07:40:02 -07:00
2021-12-02 21:29:19 -08:00
2021-12-02 21:29:19 -08:00
2024-03-26 05:18:07 +00:00
2021-11-19 17:01:48 -08:00
2024-03-26 05:18:07 +00:00
2023-05-11 18:14:27 -07:00
2023-05-31 11:52:05 -07:00
2024-03-26 05:18:07 +00:00
2024-03-26 05:18:07 +00:00
2022-09-10 12:36:51 -07:00
2023-05-09 09:16:30 -07:00
2023-11-18 00:19:03 -08:00
2022-08-28 16:54:58 -07:00