def get_all_by_owner(cls, context, owner): objs = db_api.action_get_all_by_owner(context, owner) return [cls._from_db_object(context, cls(), obj) for obj in objs]
def get_all_by_owner(cls, context, owner): return db_api.action_get_all_by_owner(context, owner)