> 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

Hi Ethan,
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.

Thanks,
jlc
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to