[Avocado-devel] Multiplexer and params retrieval
Ruda Moura
rmoura at redhat.com
Thu Mar 5 18:48:22 UTC 2015
On Thu, Mar 05, 2015 at 02:27:08PM -0300, Ademar Reis wrote:
> (1) is the API discussion. It should be simple and convenient.
> There should be no magic or need to understand details of how the
> multiplexer works to use it. As in the requirements, it should
> not leak details of our particular multiplexer implementation.
>
> What about this API:
>
> X = get(path="", var="", default="")
+1 for the get() API format, looks like getattr() builtin.
--
Rudá Moura
More information about the Avocado-devel
mailing list