[Openstack] using objects returned from DB layer

Soren Hansen soren at linux2go.dk
Thu Dec 15 08:06:07 UTC 2011


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/




More information about the Openstack mailing list