I noticed the same thing. Most drivers seem to return IDs as strings (a lot IDs are not even numeric), but a few are ints. I believe the one I noticed was that GoGrid returns sizes with int IDs.
I would be inclined to say that all IDs should be strings. -Russell On Thu, Jun 24, 2010 at 4:19 PM, [email protected] <[email protected]>wrote: > Hi, > I'm working on getting default image/sizes for Rackspace and Linode. > > I'm using the list_images() call to each driver. > > Turns out that the type of the 'id' field is different (<str> for > rackspace, <int> for linode). > > Is this intentional, or a bug? > > Seems pretty bug-like to me...but I'm not which is the "correct" > type, nor have I tested this out on other providers. > > Thanks, > > S > >
