Esempio n. 1
0
 def get_all_by_project(cls, context, project_id, filters=None, marker=None,
                        limit=None, offset=None, sort_keys=None,
                        sort_dirs=None):
     groups = db.group_get_all_by_project(
         context, project_id, filters=filters, marker=marker, limit=limit,
         offset=offset, sort_keys=sort_keys, sort_dirs=sort_dirs)
     return base.obj_make_list(context, cls(context),
                               objects.Group,
                               groups)
Esempio n. 2
0
 def get_all_by_project(cls, context, project_id, filters=None, marker=None,
                        limit=None, offset=None, sort_keys=None,
                        sort_dirs=None):
     groups = db.group_get_all_by_project(
         context, project_id, filters=filters, marker=marker, limit=limit,
         offset=offset, sort_keys=sort_keys, sort_dirs=sort_dirs)
     return base.obj_make_list(context, cls(context),
                               objects.Group,
                               groups)