You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to get a response in dictionary form. List of tuples is a good starting point, but you usually want to access just one field real quick.
Dates returned in an RTResponse should be pre-parsed to datetime objects, instead of returned as strings. (There might be some locale issues here)
This will simplify use of the library.
Implementation wise it should be an easy fix in rtkit/resource.py's RTResponse object, but I'm not sure how it best is made visible interface wise.
I'm happy to provide a patches if these changes sound acceptable.
Activity
z4r commentedon Jan 28, 2013
Hi Lasse,
thanks for your interest.
You do quite right, but my idea was a set of high-level API that should solve the unpythonic.
The basic idea can be found in
tracker.pyandentities.py.let me know what do you think about it.
darkpixel commentedon Jun 2, 2015
Easy workaround. Use the documented method for creating a ticket along with a quick and dirty regular expression: