blob: af601c7c47f1bb32abfccb82fa77a52cf4caa5f7 [file] [log] [blame]
James Kuszmaul8e62b022022-03-22 09:33:25 -07001# automatically generated by the FlatBuffers compiler, do not modify
2
3# namespace: NamespaceB
4
5class UnionInNestedNS(object):
6 NONE = 0
7 TableInNestedNS = 1
8
9def UnionInNestedNSCreator(unionType, table):
10 from flatbuffers.table import Table
11 if not isinstance(table, Table):
12 return None
13 if unionType == UnionInNestedNS().TableInNestedNS:
14 return TableInNestedNST.InitFromBuf(table.Bytes, table.Pos)
15 return None