cache the object.
--
Thadeus
On Sun, Jun 6, 2010 at 7:23 PM, Jose wrote:
> I have a module (in my_app / modules) that defines a class MyClass.
> This class operates with model data. In the __init__ there is a heavy
> workload, and data are available for other minor calculations.
>
> What I wa
I have a module (in my_app / modules) that defines a class MyClass.
This class operates with model data. In the __init__ there is a heavy
workload, and data are available for other minor calculations.
What I want is to create an instance of MyClass [my_object = MyClass
(...)] a function of my cont
2 matches
Mail list logo