def __init__(self,
               rpcserver,
               configs):
    if not isinstance(configs, list):
      configs = [configs]
    self.rpcserver = rpcserver
    self.runtimes = set(config.runtime for config in configs)
    self.runtime_to_api_version = {}
    for config in configs:
      self.runtime_to_api_version.setdefault(
          config.runtime, set()).add(config.api_version)
Create a new SDKUpdateChecker.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/sdk_update_checker.py/SDKUpdateChecker.__init__