Description of problem: sdk expose datetime elements as strings while schema defines them as xs:dateTime
issue caused by bug in python generateDS 2.7, fix is available in 2.9
[imeerovi@imeerovi storage_api]$ ipython Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48) Type "copyright", "credits" or "license" for more information. IPython 0.10 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]: from ovirtsdk.xml import params In [2]: from ovirtsdk.api import API In [3]: api = API(url='https://ilia-rhevm.qa.lab.tlv.redhat.com:443', username='admin@internal', password='123456',insecure=True) In [4]: api.get_time() Out[4]: datetime.datetime(2013, 7, 3, 15, 10, 57, 24000, tzinfo=<ovirtsdk.xml.params._FixedOffsetTZ object at 0x2d1ce50>) In [5]: type(api.get_time()) Out[5]: <type 'datetime.datetime'> In [6]: Do you really want to exit ([y]/n)? y [imeerovi@imeerovi storage_api]$ rpm -q rhevm-sdk-python rhevm-sdk-python-3.3.0.3-1.el6ev.noarch [imeerovi@imeerovi storage_api]$
Closing - RHEV 3.3 Released