Joseph L. Casale
jcasale at activenetwerx.com
Thu Jul 24 23:58:22 CEST 2014
> You could:
> - have a single point of entry that can check and, if necessary, revalidate
> - create a helper that checks and, if necessary, revalidate, which is then
> called where ever needed
> - create a decorator that does the above for each function that needs it
Turns out the module in Pypi lacks what the latest release shipped with ESXi
and obviously what github has. There is apparently a restartable strategy that
I am working with now.
I thought of a decorator implementing the retry idiom but as these are simply
objects not functions that doesn't apply. I'd have to go options 1 or 2. Hopefully
the restartable strategy suffices.
More information about the Python-list