Comment 1 for bug 1342131

Revision history for this message
Angus Salkeld (asalkeld) wrote :

And neither does: https://github.com/openstack/heat/blob/master/heat/db/api.py
but they are all *so* obvious, I just think this would be a waste of coding/reviewing time adding them.

for instance:
https://github.com/openstack/heat/blob/master/heat/db/sqlalchemy/api.py#L111

def resource_get_by_name_and_stack(context, resource_name, stack_id):
   """Get a resource by name and stack_id."""

Even if you fluff this out, you are really not adding any value, they are really painfully
obvious what they do.