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


Groups > comp.lang.python > #75187

RE: Using pyVmomi

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.062
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'shipped': 0.05; 'pypi': 0.07; 'decorator': 0.09; 'received:172.18.0': 0.16; 'retry': 0.16; 'thanks,': 0.17; 'obviously': 0.18; 'module': 0.19; 'implementing': 0.19; 'to:name:python-list@python.org': 0.22; 'apply.': 0.24; 'helper': 0.24; 'header:Received:8': 0.24; 'options': 0.25; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'function': 0.29; "doesn't": 0.30; 'apparently': 0.31; "i'd": 0.34; 'objects': 0.35; 'but': 0.35; 'there': 0.35; 'entry': 0.36; 'charset:us-ascii': 0.36; 'checks': 0.38; 'needed': 0.38; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'release': 0.40; 'received:unknown': 0.61; 'simply': 0.61; 'strategy': 0.64; 'latest': 0.67; 'ethan,': 0.84; 'idiom': 0.84; 'revalidate': 0.84; 'subject:Using': 0.84
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=/24PZDiXryEUsaYH72AX4ulVzqSXihAXfE7Ql5lDP0I= c=1 sm=1 a=7PYXob_7ZXMA:10 a=P90J6pEA2ccA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=a4FmGhPsT4ZL0XRrnHMA:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1406239104; bh=xkjT/LWF55znxl54LIrX6w/iiuQ7UymiEAS6ZlNAxRU=; h=From:To:Subject:Date:References:In-Reply-To; b=D6fJibMvwZaY921oe+u7omRmkTdAIINa/e+fLZOrpfQmkqpL1bWp2K4coVHpWmlFX IA3576G9BM8o+k9iSyFdAV8Sjes42poSVCa0Y8S6cuBZrTlP9WleJsS8ttZdMg769V stqWnVId+j97v3JVWtsDS3J+Iko08JplpiUnmO7Y=
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1406239104; bh=xkjT/LWF55znxl54LIrX6w/iiuQ7UymiEAS6ZlNAxRU=; h=From:To:Subject:Date:References:In-Reply-To; b=D6fJibMvwZaY921oe+u7omRmkTdAIINa/e+fLZOrpfQmkqpL1bWp2K4coVHpWmlFX IA3576G9BM8o+k9iSyFdAV8Sjes42poSVCa0Y8S6cuBZrTlP9WleJsS8ttZdMg769V stqWnVId+j97v3JVWtsDS3J+Iko08JplpiUnmO7Y=
X-Spam-Checker-Version SpamAssassin 3.3.1 (2010-03-16) on mail.activenetwerx.com
X-Spam-Level
X-Spam-Status No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.1
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Using pyVmomi
Thread-Topic Using pyVmomi
Thread-Index AQHPprJbYhOG+1zSy0SyE1az0eB7IZuv8s4A///Td0Q=
Date Thu, 24 Jul 2014 21:58:22 +0000
References <53D1518C.9030900@stoneleaf.us>
In-Reply-To <53D1518C.9030900@stoneleaf.us>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.4]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Virus-Scanned ClamAV using ClamSMTP
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12304.1406239175.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406239175 news.xs4all.nl 2878 [2001:888:2000:d::a6]:34838
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75187

Show key headers only | 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