Re: [BangPypers] Resolving dependancies

2013-12-23 Thread Rohit Chormale
you can create dictionary to save result of every run_check(). Before executing any run_check(), fetch values from this dictionary and put appropriate conditions. I hope this is what you want else would like to give more details? On Tue, Dec 24, 2013 at 11:07 AM, jitendra gupta wrote: > You can

Re: [BangPypers] Resolving dependancies

2013-12-23 Thread jitendra gupta
You can try with Decorator , this might be helpfull. On Thu, Dec 5, 2013 at 5:03 PM, Vaidhy wrote: > I think you need a better class structure. A class should not be used > solely to impose an interface. > On Dec 5, 2013 4:52 PM, "SHASHANKA SONA" wrote: > > > Hi , > > > > I have a situa

Re: [BangPypers] Resolving dependancies

2013-12-05 Thread Vaidhy
I think you need a better class structure. A class should not be used solely to impose an interface. On Dec 5, 2013 4:52 PM, "SHASHANKA SONA" wrote: > Hi , > > I have a situation where i have 3(ex: Class1, Class2, Class3) classes > inheriting from a base class(ex: Base_class). Each of 3 cl

[BangPypers] Resolving dependancies

2013-12-05 Thread SHASHANKA SONA
Hi , I have a situation where i have 3(ex: Class1, Class2, Class3) classes inheriting from a base class(ex: Base_class). Each of 3 classes has run_check() method checking something. Check in Class1.run_check() should execute if Class3.run_check() is successful. Check in Class2.run_check() sh