def __init__( self, groups_settings_api=get_groups_settings_api(), directory_api=get_directory_api(), ): super().__init__() self.groups_settings_api = groups_settings_api self.directory_api = directory_api
def __init__(self, directory_api=get_directory_api()): super().__init__() self.directory_api = directory_api
def directory_api(self): if self._directory_api is not None: return self._directory_api return get_directory_api()