1. 29 May, 2019 4 commits
    • Karel Koci's avatar
      euci: divide obsolete methods by comment · 5134fd51
      Karel Koci authored
      5134fd51
    • Karel Koci's avatar
      euci: integrace *_default methods to get method · aa8b73ec
      Karel Koci authored
      This is much more versatile and compact syntax. You can optionally set
      default keywords argument and that gives you behavior where
      UciExceptionNotFound is never thrown out.
      This also adds tests for defaults.
      aa8b73ec
    • Karel Koci's avatar
      euci: overload default get and set methods to support types · 7ed4c4a7
      Karel Koci authored
      This drops previous get_t and set_t methods in favor of overloaded get
      and set methods.
      You can optionally add keyword argument dtype to get method to ensure
      that returned data is of specified type. For now only str, int and bool
      are supported.
      set methods now detects value argument type and behaves according to it.
      In general it just converts value to string but in case of bool it
      replaces it with defined value.
      7ed4c4a7
    • Karel Koci's avatar
      euci: implement get_t and set_t method · 4b9ab0a6
      Karel Koci authored
      These are intended to be used as smart wrappers on top of get_* and
      set_* methods. In case of get_t method you can specify type you are
      expecting like a python type (str, bool and int). In case of set_t is
      type autodetected from provided value.
      4b9ab0a6
  2. 22 May, 2019 3 commits
  3. 05 Feb, 2019 1 commit
  4. 31 Jan, 2019 1 commit