Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75187 > unrolled thread

RE: Using pyVmomi

Started by"Joseph L. Casale" <jcasale@activenetwerx.com>
First post2014-07-24 21:58 +0000
Last post2014-07-24 21:58 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: Using pyVmomi "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-07-24 21:58 +0000

#75187 — RE: Using pyVmomi

From"Joseph L. Casale" <jcasale@activenetwerx.com>
Date2014-07-24 21:58 +0000
SubjectRE: Using pyVmomi
Message-ID<mailman.12304.1406239175.18130.python-list@python.org>
> 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web