def __init__(self, name, record):
super(Field, self).__init__(record._swimlane)<EOL>self.name = name<EOL>self.__record_ref = weakref.ref(record)<EOL>self._value = self._unset<EOL>self.field_definition = self.record.app.get_field_definition_by_name(self.name)<EOL>self.key = self.field_definition.get('<STR_LIT:key>')<EOL>self.id = self.field_definition['<STR_LIT:id>']<EOL>self.input_type = self.field_definition.get('<STR_LIT>')<EOL>self.required = self.field_definition.get('<STR_LIT>', False)<EOL>self.readonly = bool(self.field_definition.get('<STR_LIT>', self.field_definition.get('<STR_LIT>', False)))<EOL>self.multiselect = self.field_definition.get('<STR_LIT>', '<STR_LIT>') == '<STR_LIT>'<EOL>
Value not included during instantiation to prevent ambiguity between python and swimlane representations