[BangPypers] Resolving dependancies

Rohit Chormale rohitchormale at gmail.com
Tue Dec 24 06:53:26 CET 2013


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 <jitu.icfai at gmail.com>wrote:

> You can try with Decorator , this might be helpfull.
>
>
> On Thu, Dec 5, 2013 at 5:03 PM, Vaidhy <vaidhy at 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" <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
> > >
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > https://mail.python.org/mailman/listinfo/bangpypers
> >
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list