Role
Module superwise.controller.role
This module implement roles functionality
Classes
RoleController(client, sw)
Role controller class, implement functionalities for roles API
Args:
client
: superwise client object
sw
: superwise object
Ancestors (in MRO)
- superwise.controller.base.BaseController
- abc.ABC
Methods
list_to_dict(self, model_list)
Description:
convert a list of models into dict
Args:
model_list
: list of models
Return:
Dict of RoleModel()