

def _add_field_by_type(self, field_name, field_type, factory_id=0, class_id=0):
    self._check()
    self._field_defs.append(FieldDefinition(self._index, field_name, field_type, factory_id, class_id))
    self._index += 1

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/serialization/portable/classdef.py ClassDefinitionBuilder._add_field_by_type/original