docs: 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