from __future__ import annotations import flatbuffers import numpy as np import typing from typing import cast uoffset: typing.TypeAlias = flatbuffers.number_types.UOffsetTFlags.py_type class TestEnum(object): A = cast(int, ...) B = cast(int, ...) C = cast(int, ...)