[Openstack] using objects returned from DB layer

Chris Behrens chris.behrens at RACKSPACE.COM
Thu Dec 15 08:37:50 UTC 2011


Yes, that was what I was saying. :)

On Dec 15, 2011, at 12:06 AM, Soren Hansen wrote:

> 2011/12/15 Jesse Andrews <anotherjesse at gmail.com>:
>> I agree except I though the preference was for
>> 
>>> instance_uuid = instance['uuid']
>> 
>> not
>> 
>>> instance_uuid = instance.uuid
>> 
>> (use dict's and don't assume sqlalchemy)
> 
> Yes... That's what Chris is saying, isn't it?
> 
> -- 
> Soren Hansen        | http://linux2go.dk/
> Ubuntu Developer    | http://www.ubuntu.com/
> OpenStack Developer | http://www.openstack.org/
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list