You can try with Decorator , this might be helpfull.
On Thu, Dec 5, 2013 at 5:03 PM, Vaidhy <vai...@gmail.com> 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" <shashankas...@gmail.com> 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 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() > > should execute if Class3.run_check() is successful. > > > > Now i need a framework to handle this kind of dependency. Any > > suggestion? > > > > Thanks, > > S Sona > > _______________________________________________ > > BangPypers mailing list > > BangPypers@python.org > > https://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers