archinstall/archinstall
Werner Llácer e8b6b1b334
Restore generic_select function (#857)
* recreate generic_select and generic_multi_select functions

* flake8 complains

* Addressed some review issues
-> Options checks propagated to Menu(()
-> Options parameter inmutable at Menu()
-> Some text adapted
-> Sort will be handled by Menu()
-> Better handling of default value

* Solved the two problems found:
lack of list(dict.[keys/values] and impact in copy()
sideffects of renaming menu parameter options into p_options

* Now the problem of the copy was with a generator

* Add a log message whenever an "strange" object type is sent into Menu

* Validation of types has been streamlined.
Default values are now accesible to generic_select without restriction
2022-01-12 23:24:38 +01:00
..
lib Restore generic_select function (#857) 2022-01-12 23:24:38 +01:00
__init__.py Global menu (#806) 2022-01-07 10:48:23 +00:00
__main__.py Some additional formatting 2021-05-15 12:46:23 -04:00
examples Adding symlink to examples. 2020-07-08 12:34:22 +00:00
profiles Added symlinks instead of copying when building. Also mofied the __file__ path in __main__.py as it was pointing a bit off for some reason 2020-07-08 13:22:05 +00:00