mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 04:58:57 +00:00
[Python] Avoid include own type (#8625)
This prevents the include of the type defined in the pyi, otherwise this leads to error message like this: error: Name XYZ already defined (possibly by an import) [no-redef]
This commit is contained in:
@@ -6,7 +6,6 @@ import numpy as np
|
||||
import flatbuffers
|
||||
import typing
|
||||
from MyGame.Example.ArrayStruct import ArrayStruct, ArrayStructT
|
||||
from MyGame.Example.ArrayTable import ArrayTable
|
||||
|
||||
uoffset: typing.TypeAlias = flatbuffers.number_types.UOffsetTFlags.py_type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user