Пример #1
0
 def load_service_spec(self, service_name, version=None, variables=None):
     logger.debug(f"Initializing client for '{self._name}' " +
                  f"Spec: '{service_name}' Variables: '{variables}'")
     spec = alsdkdefs.load_service_spec(service_name, Config.get_api_dir(),
                                        version)
     self.load_spec(spec, variables)
Пример #2
0
 def list_services():
     return sorted(next(os.walk(Config.get_api_dir()))[1])