Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _get_all_roles(self):
"""Creates an instance of _Roles class and adds it to the IndexServer class"""
self._roles_obj = _Roles(self._commcell_object)
def refresh(self):
"""Refresh the index server properties"""
self._get_properties()
if not self._roles_obj:
self._roles_obj = _Roles(self._commcell_obj)