1# 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