← Back to team overview

openstack team mailing list archive

Re: using objects returned from DB layer

 

Yes, that was what I was saying. :)

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

> 2011/12/15 Jesse Andrews <anotherjesse@xxxxxxxxx>:
>> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



References