<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le mer. 4 janv. 2017 à 07:36, Elliot Saba <<a href="mailto:staticfloat@gmail.com">staticfloat@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Thanks Pierre.  I would have used setProperty, but I find it rather opaque which parameters can have a function passed instead of a value, and which cannot, and furthermore if that function would be passed the set of properties or not.</div></blockquote><div>Hi Elliot,</div><div>You can assume that any step's argument taking a standard type parameter (string, int, etc) can also be passed a renderable, which can itself be a function, if decorated with @util.renderer.</div><div>If this does not work, then it is a mistake and should be reported.</div><div><br></div><div>I am not sure here if you are talking about the "steps.SetProperty" that tomprince pointed out in my PR, or if you are talking about the props.setProperty of your renderer.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I suggest you use the <a href="https://github.com/staticfloat/julia-buildbot/blob/0bfe31a611004c794eb0e5c673309d5476f682c4/master/package.py#L45-L77" class="gmail_msg" target="_blank">actual working version of the python function</a>, it took me a little while to figure out how to finagle the data to flow properly, and I wouldn't want to lead anyone astray.</div></div></blockquote><div>I did not realize how complicated it is to use string.format with a properties object. </div><div>But your implementation looks good, apart it does a useless /bin/true shell command on the worker </div></div></div>