mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
16 lines
278 B
Python
16 lines
278 B
Python
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, ...)
|
|
|