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_caot...@163.com 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@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to