Skip to content
Snippets Groups Projects
  1. Feb 27, 2025
  2. Feb 20, 2025
  3. Feb 19, 2025
  4. Feb 13, 2025
  5. Aug 03, 2023
  6. Jul 27, 2023
  7. Jul 21, 2023
  8. Mar 09, 2023
  9. Mar 04, 2022
    • Karel Koci's avatar
      Release version 0.9.0 · 84f34719
      Karel Koci authored
      Added
      * `convert` argument for `EUci.get`. It provides a way to convert values
        to any type with custom function.
      
      Changed
      * `list` argument for `EUci.get` is now required to be set to `True` for
        lists otherwise only first value is returned. This is removal of
        auto-detection of lists. The get of list has to be now always
        explictly stated.
      * `dtype` argument for `EUci.get` can now be any type that can be
        initialized with string as a single argument (such as `int("42")`.
      * `default` argument for `EUci.get` now uses object instance `NoDefault`
        to detect that there is no default instead of presence of keyword
        argument.
      
      Removed
      * obsolete "get" methods in `EUci`
    • Karel Koci's avatar
      euci: remove obsolete methods · 4d960527
      Karel Koci authored
      Verified
      4d960527
    • Karel Koci's avatar
      gitlab-ci: build docker image as part of CI · 7e2d9444
      Karel Koci authored
      This also completely removes Python2.
      Verified
      7e2d9444
    • Karel Koci's avatar
      euci: change get method and add convert argument · fd7ebd01
      Karel Koci authored
      This is in some corner cases incompatible change.
      
      The incompatible changes here are:
      * The raised exception in case of conversion error is no longer
        ValueError but rather UciExceptionNotFound.
      * The list argument now always has to be specified to `list=True` for
        list of configs. There is no longer a mode when either tuple or value
        is returned. It is one or the other depending on list argument.
      * No default is now detected using dedicated NoDefault object instance
        instead of using presence of the argument. In most cases this affects
        nothing.
      
      The new convert argument adds an easy way to convert values to any type
      by providing lambda function that implements such conversion.
      Verified
      fd7ebd01
  10. Dec 09, 2021
  11. Dec 04, 2020
  12. Nov 20, 2020
  13. Aug 26, 2020
  14. Jul 15, 2020
  15. Dec 04, 2019
  16. Dec 03, 2019
  17. Nov 26, 2019
  18. Jun 06, 2019
  19. Jun 05, 2019
    • Karel Koci's avatar
      euci: accept any iterable in set method · 064a057e
      Karel Koci authored
      We were checking if argument is list or tuple but that is technically
      wrong. Much better is to just check if it is iterable. Problem is that
      string is also iterable but that we can just do as an exception.
      Verified
      064a057e
  20. May 30, 2019
  21. May 29, 2019
Loading