<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_type(self):
 """ Get the type name of key """

        for typechar, typename in self.KEY_TYPE_CHOICES:
            if typechar == self.key_type:
                return typename