MCPcopy Index your code
hub / github.com/archlinux/archinstall / get_value

Method get_value

archinstall/tui/result.py:57–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 raise ValueError('Invalid item type')
56
57 def get_value(self) -> ValueT:
58 if self._item is not None:
59 return self.item().get_value() # type: ignore[no-any-return]
60
61 if type(self._data) is not list and self._data is not None:
62 return cast(ValueT, self._data)
63
64 raise ValueError('No value found')
65
66 def get_values(self) -> list[ValueT]:
67 if self._item is not None:

Callers 15

_confirmFunction · 0.45
select_seat_accessFunction · 0.45
_select_flavorMethod · 0.45
get_valuesMethod · 0.45
confirm_configFunction · 0.45
save_configFunction · 0.45
_define_menu_optionsMethod · 0.45
select_colorFunction · 0.45
_define_menu_optionsMethod · 0.45
select_locale_langFunction · 0.45

Calls 1

itemMethod · 0.95

Tested by

no test coverage detected