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


Groups > comp.lang.python > #75187

RE: Using pyVmomi

From "Joseph L. Casale" <jcasale@activenetwerx.com>
Subject RE: Using pyVmomi
Date 2014-07-24 21:58 +0000
References <53D1518C.9030900@stoneleaf.us>
Newsgroups comp.lang.python
Message-ID <mailman.12304.1406239175.18130.python-list@python.org> (permalink)

Show all headers | View raw


> 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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web