← Back to team overview

openstack team mailing list archive

Re: using objects returned from DB layer

 

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/


Follow ups

References