code: def get_field_types(self, name=None, flatten=False):
      if not name:
          if not flatten:
              return self._type_mapping
          else:
              types = [None] * len(self._type_mapping)
              for idx, name in self._offset_name_mapping:
                  types[idx] = self._type_mapping[name]
              return types
      else:
          return self._type_mapping[name]
  
imports: import copy
  from typing import List, Union
  import pandas
  from .utils import AnonymousGenerator
label_desc: Use image node_id 20 for calling the SchemaManager obj's underlying member method code with example usage: obj.get_field_types(name, flatten) and returns: self, self, types