def get_radio_by_number(self, radio_number) -> '<STR_LIT>':
if self.has_radio_presets:<EOL><INDENT>if radio_number in FlyingUnit.RadioPresets.radio_enum[self.unit_type].keys():<EOL><INDENT>return FlyingUnit.RadioPresets(self, radio_number)<EOL><DEDENT>else:<EOL><INDENT>raise TypeError(<EOL>'<STR_LIT>'.format(radio_number, self.unit_type))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise TypeError('<STR_LIT>'.format(self.unit_id, self.unit_name))<EOL><DEDENT>
Args:
    radio_number: radio number

Returns: presets for this radio