[BangPypers] Resolving dependancies

Vaidhy vaidhy at gmail.com
Thu Dec 5 12:33:51 CET 2013


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" <shashankasona at 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 at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list