Files
flatbuffers/tests/MyGame/Example
Felix 1047d7ec13 Fix Enum type definition (#8624)
Using the : syntax leads to non member attributes.

> If an attribute is defined in the class body with a type annotation
> but with no assigned value, a type checker should assume this is a non-member attribute

```
class Pet(Enum):
    genus: str  # Non-member attribute
    species: str  # Non-member attribute

    CAT = 1  # Member attribute
    DOG = 2  # Member attribute
```

https://typing.python.org/en/latest/spec/enums.html#defining-members
2025-07-16 12:22:45 -07:00
..
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2022-12-22 20:51:39 +00:00
2023-09-30 18:54:48 -07:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2023-05-17 13:10:51 -07:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2022-10-20 18:15:00 -07:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2023-05-09 09:16:30 -07:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2021-12-09 15:47:09 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2023-05-17 13:10:51 -07:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2021-03-29 19:56:45 -04:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2019-07-22 16:05:15 -07:00
2025-07-16 12:22:45 -07:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2022-12-22 20:51:39 +00:00
2022-12-22 20:51:39 +00:00
2025-02-10 20:25:03 -08:00
2025-02-10 20:25:03 -08:00
2019-05-09 10:07:38 -07:00
2022-12-22 20:51:39 +00:00