コード例 #1
0
 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
コード例 #2
0
 def __init__(self, directory_api=get_directory_api()):
     super().__init__()
     self.directory_api = directory_api
コード例 #3
0
 def directory_api(self):
     if self._directory_api is not None:
         return self._directory_api
     return get_directory_api()