[PEAK] Trellis on_commit and Performers

Sergey Schetinin maluke at gmail.com
Mon Oct 6 10:23:45 EDT 2008


> It does that to handle this case:
>
>    @value.connector
>    def value(self, sensor):
>        ...
>
> But it is clearly being over-aggressive.  I've fixed this to do more
> checking (ala the callback version), and added full test coverage for all
> possible calling scenarios.
>
> The fix is checked in now, but you can also work around it by using
> @value.connector() and @value.disconnector() instead (note the () on the
> ends) or by naming the methods the same as the @maintain rule.

Thanks.



More information about the PEAK mailing list