[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Using xenapi.event.from() in python


  • To: xen-api@xxxxxxxxxxxxx
  • From: tony_caotong@xxxxxxx
  • Date: Mon, 17 Aug 2015 17:44:18 +0800
  • Delivery-date: Mon, 17 Aug 2015 09:44:38 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>


Got the solution and thanks @johnelse

 session.xenapi.event.__getattr__("from")()
 session.xenapi.__getattr__("event.from")()

-----------
Cao Tong

On 08/17/2015 03:30 PM, tony_caotong@xxxxxxx wrote:

Hello,

I found a funciton named 'sesson.xenapi.event.from()' in XAPI.

The question is How can I use it with python, as 'from' is a reserved word ?




_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.