title: Are class methods pure in dask?
body: <p>Is this a valid use of <code>pure</code> in Dask?</p>
  
  <p>Lets assume that <code>bar</code> is never changed during the computation, but it may change while I setup the computation.</p>
  
  <pre><code>from dask import delayed
  
  
  class a:
      def __init__(self):
          self.bar = 1
      def foo(self, b):
          return self.bar + b
      def dask_foo(self, b):
          return delayed(self.foo, pure=True)(b)
  </code></pre>